--- old/src/share/vm/runtime/sharedRuntime.hpp 2017-04-25 16:45:53.711172451 +0200 +++ new/src/share/vm/runtime/sharedRuntime.hpp 2017-04-25 16:45:53.567172456 +0200 @@ -182,12 +182,6 @@ 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 - // 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 - // exception handling and implicit exceptions static address compute_compiled_exc_handler(CompiledMethod* nm, address ret_pc, Handle& exception, bool force_unwind, bool top_frame_only, bool& recursive_exception_occurred); @@ -211,6 +205,10 @@ static address deoptimize_for_implicit_exception(JavaThread* thread, address pc, CompiledMethod* nm, int deopt_reason); #endif + // Post-slow-path-allocation, pre-initializing-stores step for + // implementing e.g. ReduceInitialCardMarks + static void on_slowpath_allocation(JavaThread* thread); + static void enable_stack_reserved_zone(JavaThread* thread); static frame look_for_reserved_stack_annotated_method(JavaThread* thread, frame fr);