Sharp Domains of Determinacy and Hamilton-Jacobi Equations