RFR (S): 8191894: Refactor weak references in JvmtiTagHashmap to use the Access API
Daniel D. Daugherty
daniel.daugherty at oracle.com
Mon Nov 27 13:22:07 UTC 2017
Adding serviceability-dev at ... since this is JVM/TI related...
On 11/27/17 6:28 AM, Erik Österlund wrote:
> The JVMTI tag hashmap has weak oop references that are handled using
> raw oop accesses and a G1-specific SATB enqueue call when leaking out
> objects from the tag map, requiring them to be marked as live by G1.
> This should now be refactored to use the Access API to annotate that
> these are ON_PHANTOM_OOP_REF, and refactor the raw oop loads to use
> ON_PHANTOM_OOP_REF | AS_NO_KEEPALIVE.
More information about the hotspot-gc-dev