changeset 55847:466d6e2d2ddf

8223796: JVMCIEnv::get_jvmci_type does not keep klasses alive Reviewed-by: iveresov, eosterlund
author kvn
date Wed, 12 Jun 2019 10:37:35 -0700
parents 730ed3fc6605
children d109188f6480
files src/hotspot/share/jvmci/jvmciEnv.cpp
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/jvmci/jvmciEnv.cpp	Wed Jun 12 16:10:39 2019 +0100
+++ b/src/hotspot/share/jvmci/jvmciEnv.cpp	Wed Jun 12 10:37:35 2019 -0700
@@ -1111,13 +1111,6 @@
   if (klass.is_null()) {
     return type;
   }
-#ifdef INCLUDE_ALL_GCS
-    if (UseG1GC) {
-      // The klass might have come from a weak location so enqueue
-      // the Class to make sure it's noticed by G1
-      G1SATBCardTableModRefBS::enqueue(klass()->java_mirror());
-    }
-#endif  // Klass* don't require tracking as Metadata*
 
   jlong pointer = (jlong) klass();
   JavaThread* THREAD = JavaThread::current();