JDK-4897554 : Include UseSpinning, UseTLAB, PreBlockSpin with -XX:+AggressiveHeap for Linux
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.4.1_02,1.4.2
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux,linux_2.4
  • CPU: generic,x86
  • Submitted: 2003-07-29
  • Updated: 2012-10-08
  • Resolved: 2003-11-15
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.

To download the current JDK release, click here.
Other
1.4.2_04 04Fixed
Related Reports
Duplicate :  
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
14-06-2004

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
08-11-2003

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
29-07-2003