test/hotspot/jtreg/compiler/profiling/TestTypeProfiling.java
changeset 59064 f1a5d48d0471
parent 52590 c6b63df2765f
equal deleted inserted replaced
59063:058d299b22b6 59064:f1a5d48d0471
     1 /*
     1 /*
     2  * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    23 
    23 
    24  /**
    24  /**
    25   * @test
    25   * @test
    26   * @bug 8189439
    26   * @bug 8189439
    27   * @summary Parameters type profiling is not performed from aarch64 interpreter
    27   * @summary Parameters type profiling is not performed from aarch64 interpreter
       
    28   *
    28   * @requires os.arch != "arm"
    29   * @requires os.arch != "arm"
    29   * @requires vm.flavor == "server" & vm.compMode == "Xmixed" & !vm.emulatedClient & !vm.graal.enabled
    30   * @requires vm.flavor == "server" & vm.compMode == "Xmixed" & !vm.emulatedClient & !vm.graal.enabled
       
    31   *
       
    32   * @comment the test can't be run w/ TieredStopAtLevel < 4
       
    33   * @requires vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4
       
    34   *
    30   * @library /test/lib /
    35   * @library /test/lib /
    31   * @build sun.hotspot.WhiteBox
    36   * @build sun.hotspot.WhiteBox
    32   * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
    37   * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
    33   * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    38   * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    34   *                   -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
    39   *                   -XX:-BackgroundCompilation -XX:-UseOnStackReplacement