RFR: 8199328: Fix unsafe field accesses in heap dumper

Erik Österlund erik.osterlund at oracle.com
Thu Mar 8 15:41:17 UTC 2018


Hi Per,

Looks good.

Thanks,
/Erik

On 2018-03-08 15:01, Per Liden wrote:
> 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