1.1 --- a/src/share/vm/runtime/sharedRuntime.hpp Wed Jun 04 13:51:09 2008 -0700 1.2 +++ b/src/share/vm/runtime/sharedRuntime.hpp Thu Jun 05 15:57:56 2008 -0700 1.3 @@ -99,6 +99,12 @@ 1.4 static address raw_exception_handler_for_return_address(address return_address); 1.5 static address exception_handler_for_return_address(address return_address); 1.6 1.7 +#ifndef SERIALGC 1.8 + // G1 write barriers 1.9 + static void g1_wb_pre(oopDesc* orig, JavaThread *thread); 1.10 + static void g1_wb_post(void* card_addr, JavaThread* thread); 1.11 +#endif // !SERIALGC 1.12 + 1.13 // exception handling and implicit exceptions 1.14 static address compute_compiled_exc_handler(nmethod* nm, address ret_pc, Handle& exception, 1.15 bool force_unwind, bool top_frame_only);