-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b55
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8083002 | emb-9 | Tobias Hartmann | P4 | Resolved | Fixed | team |
Executing the VM with -XX:+PrintEscapeAnalysis -XX:BCEATraceLevel=3 leads to the following output:
[EA] estimated escape information for java.lang.RuntimeException::<init>
non-escaping args: AllocatedObj(0x00007fb46c0da6c0)
stack-allocatable args: AllocatedObj(0x00007fb46c0da6f0)
return non-local value
modified args: 0x1c 0
flags: unknown_modified
The lines about non-escaping and stack-allocatable args contain "AllocatedObj" addresses instead of the content of the corresponding VectorSets. The problem is in 'BCEscapeAnalyzer::dump()' where 'print_on' is called on VectorSet instead of 'print'.
[EA] estimated escape information for java.lang.RuntimeException::<init>
non-escaping args: AllocatedObj(0x00007fb46c0da6c0)
stack-allocatable args: AllocatedObj(0x00007fb46c0da6f0)
return non-local value
modified args: 0x1c 0
flags: unknown_modified
The lines about non-escaping and stack-allocatable args contain "AllocatedObj" addresses instead of the content of the corresponding VectorSets. The problem is in 'BCEscapeAnalyzer::dump()' where 'print_on' is called on VectorSet instead of 'print'.
- backported by
-
JDK-8083002 Escape analysis dump misses args information
-
- Resolved
-