United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4897554 : Include UseSpinning, UseTLAB, PreBlockSpin with -XX:+AggressiveHeap for Linux

Details
Type:
Bug
Submit Date:
2003-07-29
Status:
Closed
Updated Date:
2012-10-08
Project Name:
JDK
Resolved Date:
2003-11-15
Component:
hotspot
OS:
linux_2.4,linux
Sub-Component:
runtime
CPU:
x86,generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
1.4.1_02,1.4.2
Fixed Versions:
1.4.2_04 (04)

Related Reports
Duplicate:

Sub Tasks

Description
Problem Description:
----------------------

David experimented with some unpublished flags he knew about 
(-XX:+UseSpinning -XX:PreBlockSpin=100 -XX:+UseTLAB) to force the VM to spin instead of block.  These flags 
allowed the VM to reach the same level of performance we saw with jrockit.
> 
>   Here is a summary of the two best runs we've got:
> 
> JVM                     app.idle_time   resp. times NO/Mfg      TOPS	IR	#VMs	run id.
> -----------------------------------------------------------------------------------------------
> jrockit81_141_03        8%		2.0/2.5                 335.90	196	2	115
> j2sdk1.4.1_02+ ...	1%		1.1/4.25		348.11	202	1	148

                                    

Comments
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
1.4.2_04

FIXED IN:
1.4.2_04

INTEGRATED IN:
1.4.2_04


                                     
2004-06-14
SUGGESTED FIX

For 1.4.2_04:
> #pragma ident "@(#)arguments.cpp      1.212 03/02/25 17:10:21 JVM"
1514,1518d1513
<       #if ( defined(LINUX) )
<        UseSpinning = true;              
<        PreBlockSpin = 100; 
<       #endif 
<

###@###.### 2003-11-08
                                     
2003-11-08
EVALUATION

Please contact Dave Dice before doing any backport work.. 
###@###.### 2003-07-29


For 1.4.2_04, the fix integrated is to enable UseSpinning, -XX:+PreBlockSpin=100 flags with AggressiveHeap on Linux as in suggested fix section.

###@###.### 2003-11-08
                                     
2003-07-29



Hardware and Software, Engineered to Work Together