jdk/make/launcher/Launcher-jdk.aot.gmk
author hseigel
Tue, 26 Jul 2016 08:23:25 -0400
changeset 43178 6fb98b21d035
parent 42757 b35c88b07b78
child 44852 82cacb64e969
permissions -rw-r--r--
8161218: Better bytecode loading Reviewed-by: acorn, mschoene, ctornqvi Contributed-by: harold.seigel@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
42757
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
     1
#
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
     2
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
     4
#
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    10
#
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    15
# accompanied this code).
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    16
#
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    20
#
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    23
# questions.
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    24
#
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    25
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    26
include LauncherCommon.gmk
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    27
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    28
$(eval $(call SetupBuildLauncher, jaotc, \
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    29
    MAIN_CLASS := jdk.tools.jaotc.Main, \
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    30
    JAVA_ARGS := -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI \
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    31
        -XX:+UseAOT \
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    32
        -Djvmci.UseProfilingInformation=false \
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    33
        -Dgraal.UseExceptionProbability=false \
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    34
        -Djvmci.Compiler=graal \
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    35
        --add-modules ALL-DEFAULT \
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    36
    , \
b35c88b07b78 8171008: Integrate AOT compiler into JDK
kvn
parents:
diff changeset
    37
))