mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8288949: serviceability/jvmti/vthread/ContStackDepthTest/ContStackDepthTest.java failing
Reviewed-by: dlong, eosterlund, rehn
This commit is contained in:
parent
55fa19b508
commit
9a0fa82424
10 changed files with 208 additions and 29 deletions
|
@ -61,6 +61,7 @@
|
|||
#include "prims/methodHandles.hpp"
|
||||
#include "runtime/arguments.hpp"
|
||||
#include "runtime/atomic.hpp"
|
||||
#include "runtime/continuationEntry.hpp"
|
||||
#include "runtime/frame.inline.hpp"
|
||||
#include "runtime/handles.inline.hpp"
|
||||
#include "runtime/init.hpp"
|
||||
|
@ -1328,7 +1329,7 @@ void Method::set_code(const methodHandle& mh, CompiledMethod *code) {
|
|||
assert(mh->_from_interpreted_entry == NULL, "initialized incorrectly"); // see link_method
|
||||
|
||||
// This is the entry used when we're in interpreter-only mode; see InterpreterMacroAssembler::jump_from_interpreted
|
||||
mh->_i2i_entry = mh->get_i2c_entry();
|
||||
mh->_i2i_entry = ContinuationEntry::interpreted_entry();
|
||||
// This must come last, as it is what's tested in LinkResolver::resolve_static_call
|
||||
Atomic::release_store(&mh->_from_interpreted_entry , mh->get_i2c_entry());
|
||||
} else if (!mh->is_method_handle_intrinsic()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue