equal
deleted
inserted
replaced
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. |
35 done |
35 done |
36 |
36 |
37 $JAVA_HOME/bin/javac -d . $DIR/$TEST.java |
37 $JAVA_HOME/bin/javac -d . $DIR/$TEST.java |
38 |
38 |
39 JAOTC_OPTS="-J-ea -J-Xmx4g --compile-for-tiered --info" |
39 JAOTC_OPTS="-J-ea -J-Xmx4g --compile-for-tiered --info" |
40 JAVA_OPTS="-Xmx4g -XX:+UseAOT -XX:+UnlockDiagnosticVMOptions -XX:+UseAOTStrictLoading" |
40 JAVA_OPTS="-Xmx4g -XX:+UnlockExperimentalVMOptions -XX:+UseAOT -XX:+UnlockDiagnosticVMOptions -XX:+UseAOTStrictLoading" |
41 |
41 |
42 # Compile with: +UseCompressedOops +UseG1GC |
42 # Compile with: +UseCompressedOops +UseG1GC |
43 LIBRARIES="" |
43 LIBRARIES="" |
44 for m in $MODULES; do |
44 for m in $MODULES; do |
45 if [ -f $DIR/$m-list.txt ]; then |
45 if [ -f $DIR/$m-list.txt ]; then |