RFR: 8338007: [JVMCI] ResolvedJavaMethod.reprofile can crash ciMethodData [v2]
Tom Rodriguez
never at openjdk.org
Wed Oct 30 06:19:21 UTC 2024
> Graal unit testing uses ResolvedJavaMethod.reprofile to reset profiles between test but the current code rewrites the layout in a non-atomic way which can break other readers. Instead perform the reinitialization at a safepoint which should protect all readers from seeing any transient initialization states.
Tom Rodriguez has updated the pull request incrementally with one additional commit since the last revision:
Review comments
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/21746/files
- new: https://git.openjdk.org/jdk/pull/21746/files/94915e57..86c1625c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21746&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21746&range=00-01
Stats: 5 lines in 1 file changed: 2 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/21746.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21746/head:pull/21746
PR: https://git.openjdk.org/jdk/pull/21746
More information about the hotspot-dev
mailing list