JDK-7121111 : -server -Xcomp -XX:+TieredCompilation does not invoke C2 compiler
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8-pool
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-12-13
  • Updated: 2012-03-29
  • Resolved: 2012-03-29
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.
JDK 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
Related Reports
Relates :  
Description
-Xcomp flag is used for Nightly testing and I use it for very fast Server compiler test. But after tiered compilation is enabled by default it is not invoked anymore:

% java -server -XX:+PrintCompilation -Xcomp t
VM option '+PrintCompilation'
    902    1    b  3       java.lang.Thread::<init> (49 bytes)
    929    2    b  3       java.lang.Thread::init (193 bytes)
   1042    3   !b  3       java.lang.ThreadGroup::addUnstarted (40 bytes)
   1054    4    b  3       java.lang.String::getChars (66 bytes)
   1070    5    b  3       java.lang.Thread::getContextClassLoader (56 bytes)
   1092    6     n 0       java.security.AccessController::getStackAccessControlContext (0 bytes)   (static)
   1097    7    b  3       java.security.AccessControlContext::optimize (319 bytes)
   1149    8     n 0       java.security.AccessController::getInheritedAccessControlContext (0 bytes)   (static)
   1151    9    b  3       java.lang.Thread::setPriority (56 bytes)
   1178   10     n 0       java.lang.Thread::setPriority0 (0 bytes)   
   1184   11    b  3       java.lang.System::getProperty (25 bytes)
   1204   12    b  3       java.lang.String::equals (88 bytes)
   1220   13    b  3       java.util.Properties::getProperty (46 bytes)
   1234   14  s b  3       java.util.Hashtable::get (69 bytes)
   1248   15    b  3       java.lang.String::hashCode (64 bytes)
   1267   16    b  3       java.lang.ClassLoader::loadClass (7 bytes)
   1276   17  s b  3       sun.misc.Launcher$AppClassLoader::loadClass (45 bytes)
   1294   18    b  3       sun.jkernel.DownloadManager::getBootClassPathEntryForClass (38 bytes)
   1320   19    b  3       java.lang.String::lastIndexOf (156 bytes)
   1344   20  s!b  3       java.lang.ClassLoader::loadClass (62 bytes)
   1373   21    b  3       java.lang.ClassLoader::checkName (43 bytes)
   1416   22    b  3       java.lang.String::indexOf (151 bytes)
   1435   23     n 0       java.lang.ClassLoader::findLoadedClass0 (0 bytes)   
   1436   24     n 0       java.lang.ClassLoader::findBootstrapClass (0 bytes)   
...

Comments
EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/d725f0affb1a
22-03-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/d725f0affb1a
14-12-2011