RFR: 8199328: Fix unsafe field accesses in heap dumper (original) (raw)

Per Liden per.liden at oracle.com
Thu Mar 8 14:01:23 UTC 2018


The heap dumper, more specifically the DumperSupport::dump_field_value() function, is doing unsafe raw loads of fields in heap objects. Those loads should go thru the access API.

Bug: https://bugs.openjdk.java.net/browse/JDK-8199328 Webrev: http://cr.openjdk.java.net/~pliden/8199328/webrev.0/

Testing: manual dumping using jcmd GC.heap_dump, awaiting hs-tier1-3 results

/Per



More information about the hotspot-dev mailing list