changeset 10538:347d444a6fb7

Delete unused stub.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 25 Jun 2013 23:52:52 +0200
parents 8b2065558490
children 5d460d3465fd
files src/share/vm/runtime/sharedRuntime.cpp src/share/vm/runtime/sharedRuntime.hpp
diffstat 2 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp	Tue Jun 25 19:49:09 2013 +0200
+++ b/src/share/vm/runtime/sharedRuntime.cpp	Tue Jun 25 23:52:52 2013 +0200
@@ -83,7 +83,6 @@
 #endif
 
 // Shared stub locations
-RuntimeStub*        SharedRuntime::_deoptimized_installed_code_blob;
 RuntimeStub*        SharedRuntime::_wrong_method_blob;
 RuntimeStub*        SharedRuntime::_ic_miss_blob;
 RuntimeStub*        SharedRuntime::_resolve_opt_virtual_call_blob;
@@ -102,7 +101,6 @@
 
 //----------------------------generate_stubs-----------------------------------
 void SharedRuntime::generate_stubs() {
-  _deoptimized_installed_code_blob     = generate_resolve_blob(CAST_FROM_FN_PTR(address, SharedRuntime::handle_deoptimized_installed_code), "deoptimized_installed_code");
   _wrong_method_blob                   = generate_resolve_blob(CAST_FROM_FN_PTR(address, SharedRuntime::handle_wrong_method),         "wrong_method_stub");
   _ic_miss_blob                        = generate_resolve_blob(CAST_FROM_FN_PTR(address, SharedRuntime::handle_wrong_method_ic_miss), "ic_miss_stub");
   _resolve_opt_virtual_call_blob       = generate_resolve_blob(CAST_FROM_FN_PTR(address, SharedRuntime::resolve_opt_virtual_call_C),  "resolve_opt_virtual_call");
@@ -1367,12 +1365,6 @@
   return callee_method->verified_code_entry();
 JRT_END
 
-// Installed code has been deoptimized
-JRT_BLOCK_ENTRY(address, SharedRuntime::handle_deoptimized_installed_code(JavaThread* thread))
-  JavaThread* THREAD = thread;
-  ThreadInVMfromJava tiv(THREAD);
-  THROW_(vmSymbols::com_oracle_graal_api_code_InvalidInstalledCodeException(), NULL);
-JRT_END
 
 // Handle call site that has been made non-entrant
 JRT_BLOCK_ENTRY(address, SharedRuntime::handle_wrong_method(JavaThread* thread))
--- a/src/share/vm/runtime/sharedRuntime.hpp	Tue Jun 25 19:49:09 2013 +0200
+++ b/src/share/vm/runtime/sharedRuntime.hpp	Tue Jun 25 23:52:52 2013 +0200
@@ -55,7 +55,6 @@
 
   // Shared stub locations
 
-  static RuntimeStub*        _deoptimized_installed_code_blob;
   static RuntimeStub*        _wrong_method_blob;
   static RuntimeStub*        _ic_miss_blob;
   static RuntimeStub*        _resolve_opt_virtual_call_blob;
@@ -211,11 +210,6 @@
     return _wrong_method_blob->entry_point();
   }
 
-  static address get_deoptimized_installed_code_stub() {
-    assert(_deoptimized_installed_code_blob!= NULL, "oops");
-    return _deoptimized_installed_code_blob->entry_point();
-  }
-
 #ifdef COMPILER2
   static void generate_uncommon_trap_blob(void);
   static UncommonTrapBlob* uncommon_trap_blob()                  { return _uncommon_trap_blob; }
@@ -493,9 +487,6 @@
   static address handle_wrong_method(JavaThread* thread);
   static address handle_wrong_method_ic_miss(JavaThread* thread);
 
-  // handle deoptimized installed code
-  static address handle_deoptimized_installed_code(JavaThread* thread);
-
 #ifndef PRODUCT
 
   // Collect and print inline cache miss statistics