RFR (S) 8197844: JVMTI GetLoadedClasses should use the Access API

Poonam Parhar poonam.bajaj at oracle.com
Thu Mar 15 13:32:52 UTC 2018

Hi Coleen,

Fix for JDK-8187577 <https://bugs.openjdk.java.net/browse/JDK-8187577> 
added the following include too in jvmtiGetLoadedClasses.cpp file. I 
think that can also be removed now.

+#include "gc/g1/g1SATBCardTableModRefBS.hpp"


On 3/14/2018 10:37 AM, coleen.phillimore at oracle.com wrote:
> Summary: Make sure the holder of a class loader is accessed during 
> iteration of CLDG
> This is where we should have put the GC barrier.  This can be cleaned 
> somewhat when we have a WeakHandle holder in the ClassLoaderData, then 
> the code in ensure_loader_alive() becomes _holder.resolve();
> Tested with tier1-5.
> open webrev at http://cr.openjdk.java.net/~coleenp/8197844.01/webrev
> bug link https://bugs.openjdk.java.net/browse/JDK-8197844
> Thanks,
> Coleen

More information about the hotspot-runtime-dev mailing list