< prev index next >
test/compiler/startup/SmallCodeCacheStartup.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 26,40 ****
* @bug 8023014
* @summary Test ensures that there is no crash if there is not enough ReservedCodeCacheSize
* to initialize all compiler threads. The option -Xcomp gives the VM more time to
* trigger the old bug.
* @library /testlibrary
- * @ignore 8134286
* @modules java.base/jdk.internal.misc
* java.management
*/
! import jdk.test.lib.*;
import static jdk.test.lib.Asserts.assertTrue;
public class SmallCodeCacheStartup {
public static void main(String[] args) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:ReservedCodeCacheSize=3m",
--- 26,47 ----
* @bug 8023014
* @summary Test ensures that there is no crash if there is not enough ReservedCodeCacheSize
* to initialize all compiler threads. The option -Xcomp gives the VM more time to
* trigger the old bug.
* @library /testlibrary
* @modules java.base/jdk.internal.misc
* java.management
+ *
+ * @ignore 8134286
+ * @run driver compiler.startup.SmallCodeCacheStartup
*/
!
! package compiler.startup;
!
! import jdk.test.lib.OutputAnalyzer;
! import jdk.test.lib.ProcessTools;
!
import static jdk.test.lib.Asserts.assertTrue;
public class SmallCodeCacheStartup {
public static void main(String[] args) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:ReservedCodeCacheSize=3m",
< prev index next >