< prev index next >

src/cpu/zero/vm/compiledIC_zero.cpp

Print this page




  43 
  44 
  45 // Release the CompiledICHolder* associated with this call site is there is one.
  46 void CompiledIC::cleanup_call_site(virtual_call_Relocation* call_site) {
  47   // This call site might have become stale so inspect it carefully.
  48   NativeCall* call = nativeCall_at(call_site->addr());
  49   if (is_icholder_entry(call->destination())) {
  50     NativeMovConstReg* value = nativeMovConstReg_at(call_site->cached_value());
  51     InlineCacheBuffer::queue_for_release((CompiledICHolder*)value->data());
  52   }
  53 }
  54 
  55 bool CompiledIC::is_icholder_call_site(virtual_call_Relocation* call_site) {
  56   // This call site might have become stale so inspect it carefully.
  57   NativeCall* call = nativeCall_at(call_site->addr());
  58   return is_icholder_entry(call->destination());
  59 }
  60 
  61 // ----------------------------------------------------------------------------
  62 
  63 void CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
  64   ShouldNotReachHere(); // Only needed for COMPILER2.

  65 }
  66 
  67 int CompiledStaticCall::to_interp_stub_size() {
  68   ShouldNotReachHere(); // Only needed for COMPILER2.
  69   return 0;
  70 }
  71 
  72 // Relocation entries for call stub, compiled java to interpreter.
  73 int CompiledStaticCall::reloc_to_interp_stub() {
  74   ShouldNotReachHere(); // Only needed for COMPILER2.
  75   return 0;
  76 }
  77 
  78 void CompiledStaticCall::set_to_interpreted(methodHandle callee, address entry) {
  79   ShouldNotReachHere(); // Only needed for COMPILER2.
  80 }
  81 
  82 void CompiledStaticCall::set_stub_to_clean(static_stub_Relocation* static_stub) {
  83   ShouldNotReachHere(); // Only needed for COMPILER2.
  84 }


  43 
  44 
  45 // Release the CompiledICHolder* associated with this call site is there is one.
  46 void CompiledIC::cleanup_call_site(virtual_call_Relocation* call_site) {
  47   // This call site might have become stale so inspect it carefully.
  48   NativeCall* call = nativeCall_at(call_site->addr());
  49   if (is_icholder_entry(call->destination())) {
  50     NativeMovConstReg* value = nativeMovConstReg_at(call_site->cached_value());
  51     InlineCacheBuffer::queue_for_release((CompiledICHolder*)value->data());
  52   }
  53 }
  54 
  55 bool CompiledIC::is_icholder_call_site(virtual_call_Relocation* call_site) {
  56   // This call site might have become stale so inspect it carefully.
  57   NativeCall* call = nativeCall_at(call_site->addr());
  58   return is_icholder_entry(call->destination());
  59 }
  60 
  61 // ----------------------------------------------------------------------------
  62 
  63 address CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
  64   ShouldNotReachHere(); // Only needed for COMPILER2.
  65   return NULL;
  66 }
  67 
  68 int CompiledStaticCall::to_interp_stub_size() {
  69   ShouldNotReachHere(); // Only needed for COMPILER2.
  70   return 0;
  71 }
  72 
  73 // Relocation entries for call stub, compiled java to interpreter.
  74 int CompiledStaticCall::reloc_to_interp_stub() {
  75   ShouldNotReachHere(); // Only needed for COMPILER2.
  76   return 0;
  77 }
  78 
  79 void CompiledStaticCall::set_to_interpreted(methodHandle callee, address entry) {
  80   ShouldNotReachHere(); // Only needed for COMPILER2.
  81 }
  82 
  83 void CompiledStaticCall::set_stub_to_clean(static_stub_Relocation* static_stub) {
  84   ShouldNotReachHere(); // Only needed for COMPILER2.
  85 }
< prev index next >