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

Per Liden per.liden at oracle.com
Fri Mar 9 06:32:28 UTC 2018


Thanks Thomas, Aleksey and Erik for reviewing.

/Per

On 2018-03-08 16:41, Erik Ă–sterlund wrote:

Hi Per,

Looks good. Thanks, /Erik On 2018-03-08 15:01, Per Liden wrote: The heap dumper, more specifically the DumperSupport::dumpfieldvalue() 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.heapdump, awaiting hs-tier1-3 results /Per



More information about the hotspot-dev mailing list