RFR: 8295225: [JVMCI] codeStart should be cleared when entryPoint is cleared

Tom Rodriguez never at openjdk.org
Wed Oct 12 17:29:13 UTC 2022


On Wed, 12 Oct 2022 17:12:18 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> When the `InstalledCode.entryPoint` field is [cleared](https://github.com/openjdk/jdk/search?q=set_InstalledCode_entryPoint), the `HotSpotInstalledCode.codeStart` field should also be cleared. That is, when making an nmethod non-entrant, all Java fields pointing to code in the nmethod should be cleared. This avoids an inconsistent view of the code.

Marked as reviewed by never (Reviewer).

-------------

PR: https://git.openjdk.org/jdk/pull/10682


More information about the hotspot-compiler-dev mailing list