United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7121111 -server -Xcomp -XX:+TieredCompilation does not invoke C2 compiler
JDK-7121111 : -server -Xcomp -XX:+TieredCompilation does not invoke C2 compiler

Details
Type:
Bug
Submit Date:
2011-12-13
Status:
Closed
Updated Date:
2012-03-29
Project Name:
JDK
Resolved Date:
2012-03-29
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
8-pool
Fixed Versions:
hs23 (b10)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

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/hsx/hotspot-comp/hotspot/rev/d725f0affb1a
                                     
2011-12-14
EVALUATION

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



Hardware and Software, Engineered to Work Together