RFR(S) : 8213812 : remove -XX:CompileTheWorld* flags

Igor Ignatyev igor.ignatyev at oracle.com
Wed Dec 5 19:16:45 UTC 2018

during off-list discussion w/ Roland, we found a few missed vm flags in ctw.sh which cause slowness and a crash. [1] adds them and also fix find command in makefile file. Roland gave "new" ctw a spin and is happy w/ it, so unless someone else raises concerns by the end of this week, I'll proceed w/ removing CompileTheWorld.

for the record, the latest whole webrev is [2]. 

-- Igor

[1] http://cr.openjdk.java.net/~iignatyev//8213812/webrev.0-1/index.html
> 2 lines changed: 0 ins; 0 del; 2 mod;

[2] http://cr.openjdk.java.net/~iignatyev//8213812/webrev.01/index.html
> 366 lines changed: 1 ins; 348 del; 17 mod; 

> On Nov 28, 2018, at 8:58 AM, Roland Westrelin <rwestrel at redhat.com> wrote:
> Hi Igor,
>> as you saw, I have fixed a couple things in the java library to make
>> it easier to build and use. please let me know if there is something
>> else which you think should/can be improved. and ping me when you are
>> satisfied w/ the java test library and don't need native CTW anymore.
> I'm giving it a try with:
> JAVA_OPTIONS=" -XX:-TieredCompilation -XX:CICompilerCount=16 -XX:+ShowMessageBoxOnError" JAVA_HOME=~/hs/build/linux-x86_64-server-fastdebug/jdk/ time ./ctw.sh modules:java.base
> I see it creates a 16 thread pool. Still my system seems to be lightly
> loaded. Does it proceed with parallel compilations in that case?
> BTW, command above causes the JVM to crash after a while.
> Roland.

More information about the hotspot-compiler-dev mailing list