1.1 --- a/src/share/vm/runtime/sharedRuntime.hpp Fri May 06 12:12:29 2011 -0700 1.2 +++ b/src/share/vm/runtime/sharedRuntime.hpp Fri May 06 16:33:13 2011 -0700 1.3 @@ -58,6 +58,8 @@ 1.4 static RuntimeStub* _resolve_virtual_call_blob; 1.5 static RuntimeStub* _resolve_static_call_blob; 1.6 1.7 + static RicochetBlob* _ricochet_blob; 1.8 + 1.9 static SafepointBlob* _polling_page_safepoint_handler_blob; 1.10 static SafepointBlob* _polling_page_return_handler_blob; 1.11 #ifdef COMPILER2 1.12 @@ -213,6 +215,16 @@ 1.13 return _resolve_static_call_blob->entry_point(); 1.14 } 1.15 1.16 + static RicochetBlob* ricochet_blob() { 1.17 +#ifdef X86 1.18 + // Currently only implemented on x86 1.19 + assert(!EnableInvokeDynamic || _ricochet_blob != NULL, "oops"); 1.20 +#endif 1.21 + return _ricochet_blob; 1.22 + } 1.23 + 1.24 + static void generate_ricochet_blob(); 1.25 + 1.26 static SafepointBlob* polling_page_return_handler_blob() { return _polling_page_return_handler_blob; } 1.27 static SafepointBlob* polling_page_safepoint_handler_blob() { return _polling_page_safepoint_handler_blob; } 1.28