< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/ReservedStackAccessTest.java

Print this page
rev 56282 : [mq]: graal

*** 1,7 **** /* ! * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 23,38 **** package org.graalvm.compiler.hotspot.test; import java.io.IOException; - import java.util.concurrent.locks.ReentrantLock; import java.util.List; import org.graalvm.compiler.test.SubprocessUtil; import org.graalvm.compiler.test.SubprocessUtil.Subprocess; - import org.junit.Assume; import org.junit.Before; import org.junit.Test; public class ReservedStackAccessTest extends HotSpotGraalCompilerTest { --- 23,37 ---- package org.graalvm.compiler.hotspot.test; import java.io.IOException; import java.util.List; + import java.util.concurrent.locks.ReentrantLock; import org.graalvm.compiler.test.SubprocessUtil; import org.graalvm.compiler.test.SubprocessUtil.Subprocess; import org.junit.Assume; import org.junit.Before; import org.junit.Test; public class ReservedStackAccessTest extends HotSpotGraalCompilerTest {
*** 71,80 **** --- 70,80 ---- Assume.assumeTrue(runtime().getVMConfig().enableStackReservedZoneAddress != 0); List<String> vmArgs = SubprocessUtil.withoutDebuggerArguments(SubprocessUtil.getVMCommandLine()); vmArgs.add("-XX:+UseJVMCICompiler"); vmArgs.add("-Dgraal.Inline=false"); vmArgs.add("-XX:CompileCommand=exclude,java/util/concurrent/locks/AbstractOwnableSynchronizer.setExclusiveOwnerThread"); + vmArgs.addAll(SubprocessUtil.getPackageOpeningOptions()); // Avoid SOE in HotSpotJVMCIRuntime.adjustCompilationLevel vmArgs.add("-Dgraal.CompileGraalWithC1Only=false"); Subprocess proc = SubprocessUtil.java(vmArgs, ReservedStackAccessTest.class.getName());
< prev index next >