< prev index next >

src/hotspot/share/gc/parallel/psParallelCompact.cpp

Print this page

        

@@ -1030,11 +1030,11 @@
   MetaspaceAux::verify_metrics();
 
   CodeCache::gc_epilogue();
   JvmtiExport::gc_epilogue();
 
-#if defined(COMPILER2) || INCLUDE_JVMCI
+#if COMPILER2_OR_JVMCI
   DerivedPointerTable::update_pointers();
 #endif
 
   ReferenceProcessorPhaseTimes pt(&_gc_timer, ref_processor()->num_q());
 

@@ -1781,11 +1781,11 @@
     // Let the size policy know we're starting
     size_policy->major_collection_begin();
 
     CodeCache::gc_prologue();
 
-#if defined(COMPILER2) || INCLUDE_JVMCI
+#if COMPILER2_OR_JVMCI
     DerivedPointerTable::clear();
 #endif
 
     ref_processor()->enable_discovery();
     ref_processor()->setup_policy(maximum_heap_compaction);

@@ -1797,11 +1797,11 @@
 
     bool max_on_system_gc = UseMaximumCompactionOnSystemGC
       && GCCause::is_user_requested_gc(gc_cause);
     summary_phase(vmthread_cm, maximum_heap_compaction || max_on_system_gc);
 
-#if defined(COMPILER2) || INCLUDE_JVMCI
+#if COMPILER2_OR_JVMCI
     assert(DerivedPointerTable::is_active(), "Sanity");
     DerivedPointerTable::set_active(false);
 #endif
 
     // adjust_roots() updates Universe::_intArrayKlassObj which is
< prev index next >