diff src/share/vm/code/compiledIC.cpp @ 7004:1d419abb0081

made the initialize state of the jump instruction in a static call stub conform to that expected by an assertion in the runtime Expanded documentation on the design and usage of static call stubs.
author Doug Simon <doug.simon@oracle.com>
date Thu, 22 Nov 2012 23:34:49 +0100
parents e522a00b91aa
children 1baf7f1e3f23
line wrap: on
line diff
--- a/src/share/vm/code/compiledIC.cpp	Thu Nov 22 23:32:10 2012 +0100
+++ b/src/share/vm/code/compiledIC.cpp	Thu Nov 22 23:34:49 2012 +0100
@@ -565,10 +565,7 @@
   NativeJump*        jump          = nativeJump_at(method_holder->next_instruction_address());
 
   assert(method_holder->data()    == 0           || method_holder->data()    == (intptr_t)callee(), "a) MT-unsafe modification of inline cache");
-// TODO(thomaswue): Check what is the correct assert for Graal.
-#ifndef GRAAL
   assert(jump->jump_destination() == (address)-1 || jump->jump_destination() == entry, "b) MT-unsafe modification of inline cache");
-#endif
 
   // Update stub
   method_holder->set_data((intptr_t)callee());