mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8215205: javaVFrame much slower than vframeStream
Reviewed-by: mchung, thartmann
This commit is contained in:
parent
84105b36fd
commit
32ea2e5343
7 changed files with 75 additions and 3 deletions
|
@ -51,9 +51,9 @@ ScopeDesc::ScopeDesc(const CompiledMethod* code, int decode_offset, bool reexecu
|
|||
}
|
||||
|
||||
|
||||
ScopeDesc::ScopeDesc(const ScopeDesc* parent) {
|
||||
void ScopeDesc::initialize(const ScopeDesc* parent, int decode_offset) {
|
||||
_code = parent->_code;
|
||||
_decode_offset = parent->_sender_decode_offset;
|
||||
_decode_offset = decode_offset;
|
||||
_objects = parent->_objects;
|
||||
_reexecute = false; //reexecute only applies to the first scope
|
||||
_rethrow_exception = false;
|
||||
|
@ -61,6 +61,14 @@ ScopeDesc::ScopeDesc(const ScopeDesc* parent) {
|
|||
decode_body();
|
||||
}
|
||||
|
||||
ScopeDesc::ScopeDesc(const ScopeDesc* parent) {
|
||||
initialize(parent, parent->_sender_decode_offset);
|
||||
}
|
||||
|
||||
ScopeDesc::ScopeDesc(const ScopeDesc* parent, int decode_offset) {
|
||||
initialize(parent, decode_offset);
|
||||
}
|
||||
|
||||
|
||||
void ScopeDesc::decode_body() {
|
||||
if (decode_offset() == DebugInformationRecorder::serialized_null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue