RFR: 8275445: RunThese30M.java failed "assert(ZAddress::is_marked(addr)) failed: Should be marked"
Markus Grönlund
mgronlun at openjdk.java.net
Tue Oct 19 09:47:06 UTC 2021
Greetings,
This fixes the issue seen in testing when accessing an oop as part of unloading.
All oop accesses will be done outside of unloading and the result (the codesource) will be cached and reused in the FinalizerEntry.
Testing: in progress
Thanks
Markus
PS one effect of this is that classes that unload before they have allocated anything will not have a codesource attribute. This can be fixed by letting the classes register with the table as part of class loading, instead of during allocation. I will followup with a separate change for that.
-------------
Commit messages:
- move oop accesses outside of unload
Changes: https://git.openjdk.java.net/jdk/pull/6001/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6001&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8275445
Stats: 108 lines in 4 files changed: 63 ins; 44 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/6001.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6001/head:pull/6001
PR: https://git.openjdk.java.net/jdk/pull/6001
More information about the hotspot-dev
mailing list