-
Bug
-
Resolution: Fixed
-
P4
-
hs12
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2174857 | 6u14 | Vladimir Kozlov | P3 | Resolved | Fixed | b01 |
JDK-2172234 | 6u5p | Vladimir Kozlov | P3 | Resolved | Fixed | b01 |
Bytecode Escape Analyzer produces incorrect escape information for methods
without oop arguments since it do not analyse such methods.
For such methods which return an object bcEscapeAnalyzer
always says that it return a new non-escaping allocated object since
it is default escape information for a method before bytecode analysis.
In the failed test cases the methods are accessors for static fields oop
(which global escape). And the caller method synchronizing on this field.
But locks were removed since EA says it is not escaping.
Failed nsk methods:
nsk/monitoring/ThreadInfo/getLockName/getlockname001
nsk/monitoring/stress/thread/cmon001
nsk/jdwp/StackFrame/GetValues/getvalues001
nsk/jdwp/StackFrame/SetValues/setvalues001
nsk/jdwp/StackFrame/ThisObject/thisobject001
nsk/jdwp/ThreadReference/CurrentContendedMonitor/curcontmonitor001
nsk/jdwp/ThreadReference/Interrupt/interrupt001
nsk/jdwp/ThreadReference/Name/name001
nsk/jdwp/ThreadReference/OwnedMonitors/ownmonitors001
nsk/jdwp/ThreadReference/Resume/resume001
nsk/jdwp/ThreadReference/Status/status001
nsk/jdwp/ThreadReference/Stop/stop001
nsk/jdwp/ThreadReference/Suspend/suspend001
nsk/jdwp/ThreadReference/SuspendCount/suspendcnt001
without oop arguments since it do not analyse such methods.
For such methods which return an object bcEscapeAnalyzer
always says that it return a new non-escaping allocated object since
it is default escape information for a method before bytecode analysis.
In the failed test cases the methods are accessors for static fields oop
(which global escape). And the caller method synchronizing on this field.
But locks were removed since EA says it is not escaping.
Failed nsk methods:
nsk/monitoring/ThreadInfo/getLockName/getlockname001
nsk/monitoring/stress/thread/cmon001
nsk/jdwp/StackFrame/GetValues/getvalues001
nsk/jdwp/StackFrame/SetValues/setvalues001
nsk/jdwp/StackFrame/ThisObject/thisobject001
nsk/jdwp/ThreadReference/CurrentContendedMonitor/curcontmonitor001
nsk/jdwp/ThreadReference/Interrupt/interrupt001
nsk/jdwp/ThreadReference/Name/name001
nsk/jdwp/ThreadReference/OwnedMonitors/ownmonitors001
nsk/jdwp/ThreadReference/Resume/resume001
nsk/jdwp/ThreadReference/Status/status001
nsk/jdwp/ThreadReference/Stop/stop001
nsk/jdwp/ThreadReference/Suspend/suspend001
nsk/jdwp/ThreadReference/SuspendCount/suspendcnt001
- backported by
-
JDK-2172234 bytecode Escape Analyzer produces incorrect escape information for methods without oop arguments
- Resolved
-
JDK-2174857 bytecode Escape Analyzer produces incorrect escape information for methods without oop arguments
- Resolved