mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +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
|
@ -67,6 +67,9 @@ class ScopeDesc : public ResourceObj {
|
|||
// avoid a .hpp-.hpp dependency.)
|
||||
ScopeDesc(const CompiledMethod* code, int decode_offset, bool reexecute, bool rethrow_exception, bool return_oop);
|
||||
|
||||
// Direct access to scope
|
||||
ScopeDesc* at_offset(int decode_offset) { return new ScopeDesc(this, decode_offset); }
|
||||
|
||||
// JVM state
|
||||
Method* method() const { return _method; }
|
||||
int bci() const { return _bci; }
|
||||
|
@ -85,12 +88,16 @@ class ScopeDesc : public ResourceObj {
|
|||
// Returns where the scope was decoded
|
||||
int decode_offset() const { return _decode_offset; }
|
||||
|
||||
int sender_decode_offset() const { return _sender_decode_offset; }
|
||||
|
||||
// Tells whether sender() returns NULL
|
||||
bool is_top() const;
|
||||
|
||||
private:
|
||||
// Alternative constructor
|
||||
void initialize(const ScopeDesc* parent, int decode_offset);
|
||||
// Alternative constructors
|
||||
ScopeDesc(const ScopeDesc* parent);
|
||||
ScopeDesc(const ScopeDesc* parent, int decode_offset);
|
||||
|
||||
// JVM state
|
||||
Method* _method;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue