--- a/src/hotspot/share/runtime/sharedRuntime.hpp Fri May 04 09:29:14 2018 +0200
+++ b/src/hotspot/share/runtime/sharedRuntime.hpp Fri May 04 11:41:35 2018 +0200
@@ -182,11 +182,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);
-#if INCLUDE_ALL_GCS
+#if INCLUDE_G1GC
// G1 write barriers
static void g1_wb_pre(oopDesc* orig, JavaThread *thread);
static void g1_wb_post(void* card_addr, JavaThread* thread);
-#endif // INCLUDE_ALL_GCS
+#endif // INCLUDE_G1GC
// exception handling and implicit exceptions
static address compute_compiled_exc_handler(CompiledMethod* nm, address ret_pc, Handle& exception,