src/hotspot/share/gc/parallel/psMarkSweep.cpp
changeset 47799 1772ebf07d1f
parent 47676 b1c020fc35a3
child 48168 cb5d2d4453d0
--- a/src/hotspot/share/gc/parallel/psMarkSweep.cpp	Mon Nov 06 20:29:49 2017 -0800
+++ b/src/hotspot/share/gc/parallel/psMarkSweep.cpp	Mon Nov 06 21:28:03 2017 -0800
@@ -192,7 +192,7 @@
 
     allocate_stacks();
 
-#if defined(COMPILER2) || INCLUDE_JVMCI
+#if COMPILER2_OR_JVMCI
     DerivedPointerTable::clear();
 #endif
 
@@ -203,7 +203,7 @@
 
     mark_sweep_phase2();
 
-#if defined(COMPILER2) || INCLUDE_JVMCI
+#if COMPILER2_OR_JVMCI
     // Don't add any more derived pointers during phase3
     assert(DerivedPointerTable::is_active(), "Sanity");
     DerivedPointerTable::set_active(false);
@@ -252,7 +252,7 @@
     CodeCache::gc_epilogue();
     JvmtiExport::gc_epilogue();
 
-#if defined(COMPILER2) || INCLUDE_JVMCI
+#if COMPILER2_OR_JVMCI
     DerivedPointerTable::update_pointers();
 #endif