< prev index next >

test/hotspot/jtreg/serviceability/jvmti/NMethodRelocation/NMethodRelocationTest.java

Print this page

  6  * under the terms of the GNU General Public License version 2 only, as
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  * version 2 for more details (a copy is included in the LICENSE file that
 13  * accompanied this code).
 14  *
 15  * You should have received a copy of the GNU General Public License version
 16  * 2 along with this work; if not, write to the Free Software Foundation,
 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  * or visit www.oracle.com if you need additional information or have any
 21  * questions.
 22  */
 23 
 24 /*
 25  * @test

 26  * @bug 8316694
 27  * @summary Verify that nmethod relocation posts the correct JVMTI events
 28  * @requires vm.jvmti &
 29  *           vm.gc != "Epsilon" &
 30  *           vm.flavor == "server" &
 31  *           (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4) &
 32  *           vm.compMode == "Xmixed"
 33  * @library /test/lib /test/hotspot/jtreg
 34  * @build jdk.test.whitebox.WhiteBox
 35  * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
 36  * @run main/othervm/native -agentlib:NMethodRelocationTest
 37  *                          --enable-native-access=ALL-UNNAMED
 38  *                          -Xbootclasspath/a:.
 39  *                          -Xbatch
 40  *                          -XX:+UnlockDiagnosticVMOptions
 41  *                          -XX:+WhiteBoxAPI
 42  *                          -XX:+SegmentedCodeCache
 43  *                          -XX:-TieredCompilation
 44  *                          -XX:+UnlockExperimentalVMOptions
 45  *                          -XX:+NMethodRelocation

  6  * under the terms of the GNU General Public License version 2 only, as
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  * version 2 for more details (a copy is included in the LICENSE file that
 13  * accompanied this code).
 14  *
 15  * You should have received a copy of the GNU General Public License version
 16  * 2 along with this work; if not, write to the Free Software Foundation,
 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  * or visit www.oracle.com if you need additional information or have any
 21  * questions.
 22  */
 23 
 24 /*
 25  * @test
 26  * @ignore
 27  * @bug 8316694
 28  * @summary Verify that nmethod relocation posts the correct JVMTI events
 29  * @requires vm.jvmti &
 30  *           vm.gc != "Epsilon" &
 31  *           vm.flavor == "server" &
 32  *           (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4) &
 33  *           vm.compMode == "Xmixed"
 34  * @library /test/lib /test/hotspot/jtreg
 35  * @build jdk.test.whitebox.WhiteBox
 36  * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
 37  * @run main/othervm/native -agentlib:NMethodRelocationTest
 38  *                          --enable-native-access=ALL-UNNAMED
 39  *                          -Xbootclasspath/a:.
 40  *                          -Xbatch
 41  *                          -XX:+UnlockDiagnosticVMOptions
 42  *                          -XX:+WhiteBoxAPI
 43  *                          -XX:+SegmentedCodeCache
 44  *                          -XX:-TieredCompilation
 45  *                          -XX:+UnlockExperimentalVMOptions
 46  *                          -XX:+NMethodRelocation
< prev index next >