Skip to content
2 changes: 0 additions & 2 deletions src/hotspot/share/runtime/deoptimization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,7 @@ Deoptimization::UnrollBlock* Deoptimization::fetch_unroll_info_helper(JavaThread
// where it will be very difficult to figure out what went wrong. Better
// to die an early death here than some very obscure death later when the
// trail is cold.
#if 0
guarantee(array->unextended_sp() == unpack_sp, "vframe_array_head must contain the vframeArray to unpack");
#endif

int number_of_frames = array->frames();

Expand Down
1 change: 1 addition & 0 deletions src/hotspot/share/runtime/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ jint init_globals2() {
return JNI_OK;
}


void exit_globals() {
static bool destructorsCalled = false;
if (!destructorsCalled) {
Expand Down
2 changes: 0 additions & 2 deletions src/hotspot/share/runtime/vframeArray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,12 +530,10 @@ int vframeArrayElement::on_stack_size(int callee_parameters,
}


#if 0
intptr_t* vframeArray::unextended_sp() const {
assert(owner_thread()->is_in_usable_stack((address) _original.unextended_sp()), INTPTR_FORMAT, p2i(_original.unextended_sp()));
return _original.unextended_sp();
}
#endif

vframeArray* vframeArray::allocate(JavaThread* thread, int frame_size, GrowableArray<compiledVFrame*>* chunk,
RegisterMap *reg_map, frame sender, frame caller, frame self,
Expand Down
2 changes: 0 additions & 2 deletions src/hotspot/share/runtime/vframeArray.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,7 @@ class vframeArray: public CHeapObj<mtCompiler> {
// Accessors for sp
intptr_t* sp() const { return _original.sp(); }

#if 0
intptr_t* unextended_sp() const;
#endif

frame original() const { return _original; }

Expand Down