Loading... (original) (raw)
- Type:
Enhancement
- Resolution: Fixed
- Priority:
P4
- Fix Version/s: 12
- Affects Version/s: 12
The Klass::verify_on() is sometimes called on unloaded klasses. It then reads a dead mirror, without using AS_NO_KEEPALIVE, which can make GC barriers feel like :C. In order to make barriers happy, AS_NO_KEEPALIVE should be used when loading dead oops.
backported by
JDK-8228877 Change mirror accessor in Klass::verify_on() to use AS_NO_KEEPALIVE
- Resolved
JDK-8269204 Change mirror accessor in Klass::verify_on() to use AS_NO_KEEPALIVE
- Resolved
relates to
JDK-8210063 ZGC: Enable load barriers for IN_NATIVE runtime barriers
- Resolved
JDK-8224531 SEGV while collecting Klass statistics
- Closed