RFR: 8194249: SA: G1HeapRegionTable#getByAddress() returns incorrect HeapRegion

Yasumasa Suenaga yasuenag at gmail.com
Fri Dec 29 13:16:00 UTC 2017


Hi all,

G1HeapRegionTable#getByAddress() returns incorrect HeapRegion which contains incorrect address. We can see it in Stack Memory window on HSDB. Some oop addresses are shown as Free Region (attached image).

G1HeapRegion#getByAddress() should create HeapRegion instance from the address in _biased_base array.

I uploaded webrev. Could you review it?

   http://cr.openjdk.java.net/~ysuenaga/JDK-8194249/webrev.00/

I've tested this change with test/hotspot/jtreg/serviceability/sa, it works fine.
But I received some failure from Mach 5. I also tested this change via submit repos.

   http://java.se.oracle.com:10065/mdash/jobs/mach5-one-ysuenaga-JDK-8194249-20171228-0605-8272

I cannot access this URL. Could you share the result?
Also I cannot access JPRT. So I need a sponsor.


Thanks,

Yasumasa


More information about the serviceability-dev mailing list