test/hotspot/jtreg/compiler/aot/scripts/test-jaotc.sh
changeset 57681 41f2f2829a09
parent 47216 71c04702a3d5
equal deleted inserted replaced
57680:cafd691c6c04 57681:41f2f2829a09
     1 # Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
     1 # Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
     2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 #
     3 #
     4 # This code is free software; you can redistribute it and/or modify it
     4 # This code is free software; you can redistribute it and/or modify it
     5 # under the terms of the GNU General Public License version 2 only, as
     5 # under the terms of the GNU General Public License version 2 only, as
     6 # published by the Free Software Foundation.
     6 # published by the Free Software Foundation.
    36 
    36 
    37 $JAVA_HOME/bin/jaotc $JAOTC_OPTS -J-XX:AOTLibrary=./libjdk.aot.$SO_TYPE --info --compile-commands $DIR/java.base-list.txt --output libjava.base-aot.$SO_TYPE --module java.base || exit 1
    37 $JAVA_HOME/bin/jaotc $JAOTC_OPTS -J-XX:AOTLibrary=./libjdk.aot.$SO_TYPE --info --compile-commands $DIR/java.base-list.txt --output libjava.base-aot.$SO_TYPE --module java.base || exit 1
    38 
    38 
    39 $JAVA_HOME/bin/javac -d . $DIR/HelloWorld.java
    39 $JAVA_HOME/bin/javac -d . $DIR/HelloWorld.java
    40 
    40 
    41 $JAVA_HOME/bin/java -XX:-UseCompressedOops -XX:AOTLibrary=./libjava.base-aot.$SO_TYPE HelloWorld
    41 $JAVA_HOME/bin/java -XX:-UseCompressedOops -XX:+UnlockExperimentalVMOptions -XX:AOTLibrary=./libjava.base-aot.$SO_TYPE HelloWorld
    42 
    42 
    43 rm -f HelloWorld.class libjdk.aot.$SO_TYPE libjava.base-aot.$SO_TYPE
    43 rm -f HelloWorld.class libjdk.aot.$SO_TYPE libjava.base-aot.$SO_TYPE