hotspot/src/share/vm/runtime/sharedRuntime.hpp
changeset 15482 470d0b0c09f1
parent 13883 6979b9850feb
child 17872 2c49e72dcf08
child 22806 7d1955769e90
--- a/hotspot/src/share/vm/runtime/sharedRuntime.hpp	Fri Jan 18 05:33:32 2013 -0800
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.hpp	Wed Jan 23 13:02:39 2013 -0500
@@ -32,6 +32,7 @@
 #include "memory/resourceArea.hpp"
 #include "runtime/threadLocalStorage.hpp"
 #include "utilities/hashtable.hpp"
+#include "utilities/macros.hpp"
 
 class AdapterHandlerEntry;
 class AdapterHandlerTable;
@@ -168,11 +169,11 @@
   static address raw_exception_handler_for_return_address(JavaThread* thread, address return_address);
   static address exception_handler_for_return_address(JavaThread* thread, address return_address);
 
-#ifndef SERIALGC
+#if INCLUDE_ALL_GCS
   // G1 write barriers
   static void g1_wb_pre(oopDesc* orig, JavaThread *thread);
   static void g1_wb_post(void* card_addr, JavaThread* thread);
-#endif // !SERIALGC
+#endif // INCLUDE_ALL_GCS
 
   // exception handling and implicit exceptions
   static address compute_compiled_exc_handler(nmethod* nm, address ret_pc, Handle& exception,