JDK-8165372 : StackWalker performance regression following JDK-8147039
Type:Bug
Component:core-libs
Sub-Component:java.lang
Affected Version:9
Priority:P3
Status:Closed
Resolution:Fixed
Submitted:2016-09-02
Updated:2016-10-14
Resolved:2016-09-20
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
There was an across-the-board StackWalker performance regression of 25-60% introduced by the fix for JDK-8147039 (Incorrect locals and operands in compiled frames)
Comments
noreg-perf: existing tests under jdk/test/java/lang/StackWalker/ can be used to confirm that nothing is broken.
14-09-2016
The main code change in JDK-8147039 was changing stackwalk.cpp to walk the stack using javaVFrame, rather than vframeStream. Presumably vframeStream is able to do it faster.