United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6458537 BiasedLocking causes 30% Performance regression in SPECjAppServer
JDK-6458537 : BiasedLocking causes 30% Performance regression in SPECjAppServer

Details
Type:
Bug
Submit Date:
2006-08-09
Status:
Closed
Updated Date:
2012-10-08
Project Name:
JDK
Resolved Date:
2006-08-25
Component:
hotspot
OS:
solaris_10
Sub-Component:
runtime
CPU:
sparc
Priority:
P1
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Backport:
Backport:

Sub Tasks

Description
We are seeing a 30% performance regression in Mustang b90 with the server compiler.

We are still narrowing down the source of the regression (so consider this an "early warning system"), though the performance regression does not come from GC (GC times are the same between builds), nor the JDK (the b89 libjvm with the b90 JDK performs as expected).

                                    

Comments
EVALUATION

The last change for 6295591 moved the point at which the biasable "prototype header" is placed into each new instanceKlass. Previously it had been installed in the ClassFileParser. In order to support delaying of the onset of biased locking, this code was moved to the point at which classes are installed into the SystemDictionary, past the last potential blocking point.

The root cause of this regression is an unintended semantic change due to this code motion; the biased header is being installed not only when the class is defined, but also when it is referenced from other initiating loaders. The code needs to be adjusted to only take effect for the defining loader of the class. The performance team has verified that this fixes the regression.
                                     
2006-08-11
SUGGESTED FIX

http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/1.6/rc/baseline/2006/20060816163238.kbr.mustang_baseline/workspace/webrevs/webrev-2006.08.16/index.html

*** (#1 of 1): [ UNSAVED ] ###@###.###
                                     
2006-08-17



Hardware and Software, Engineered to Work Together