Integrated: 8295225: [JVMCI] codeStart should be cleared when entryPoint is cleared
Doug Simon
dnsimon at openjdk.org
Thu Oct 13 08:37:19 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.
This pull request has now been integrated.
Changeset: 03e63a2b
Author: Doug Simon <dnsimon at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/03e63a2b87e1bef6025722ec9a016312c55ebd81
Stats: 6 lines in 3 files changed: 6 ins; 0 del; 0 mod
8295225: [JVMCI] codeStart should be cleared when entryPoint is cleared
Reviewed-by: never
-------------
PR: https://git.openjdk.org/jdk/pull/10682
More information about the hotspot-compiler-dev
mailing list