[aarch64-port-dev ] Problem with C1 when running C2 build with -server -XX:+TieredCompilation
Andrew Dinn
adinn at redhat.com
Wed Jul 10 04:48:32 PDT 2013
On 10/07/13 11:45, Andrew Haley wrote:
> On 07/10/2013 11:05 AM, Andrew Dinn wrote:
>> When I run up the C2 build with tiered compilation I hit an Unimplemented
>
> Gimme testcase!
Checkout the C2 branch
[adinn jdk8]$ hg -R hotspot update -r aarch64_c2
Configure for c2
[adinn jdk8]$ sh ./configure --with-debug-level=slowdebug
--with-boot-jdk=/usr/lib/jvm/java-1.7.0-openjdk.x86_64
--with-jvm-variants=server --with-sys-root=/
--openjdk-target=aarch64-oe-linux --disable-zip-debug-info
Compile C2
[adinn jdk8]$ make STRIP_POLICY=no_strip LOG="debug" JOBS=4
BUILTIN_SIM=true CONF=linux-aarch64-normal-server-slowdebug images
Execute with tiered compilation
[adinn jdk8]$
build/linux-aarch64-normal-server-slowdebug/images/j2sdk-image/bin/java
-server -XX:+TieredCompilation -XComp -XX:CompileThreshold=150
-XX:+CIPrintCompileQueue -XX:+CIPrintRequests -XX:-UseCompressedOops
HelloWorld
You don't actually need to have a HelloWorld.class in your classpath as
you should hit the Unimplemented during bootstrap
n.b. once you have configured
build/linux-aarch64-normal-server-slowdebug your sim_compile script will
no longer know which VM to run. You can either delete the server build
after you finish debugging or else modify sim_compile to include
CONF=linux-aarch64-normal-client-slowdebug
regards,
Andrew Dinn
-----------
Principal Software Engineer
Red Hat UK Ltd
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Mark Hegarty (Ireland), Matt Parson
(USA), Charlie Peters (USA)
More information about the aarch64-port-dev
mailing list