8148747: [TESTBUG] runtime/Unsafe/AllocateMemory.java fails with OOM during compilation
Reviewed-by: coleenp, gtriantafill
--- a/hotspot/test/runtime/Unsafe/AllocateMemory.java Wed Feb 03 18:48:29 2016 +0000
+++ b/hotspot/test/runtime/Unsafe/AllocateMemory.java Wed Feb 03 13:42:29 2016 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2016, 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
@@ -23,6 +23,7 @@
/*
* @test
+ * @requires vm.compMode != "Xcomp"
* @summary Verifies behaviour of Unsafe.allocateMemory
* @library /testlibrary
* @modules java.base/sun.misc
--- a/hotspot/test/runtime/Unsafe/Reallocate.java Wed Feb 03 18:48:29 2016 +0000
+++ b/hotspot/test/runtime/Unsafe/Reallocate.java Wed Feb 03 13:42:29 2016 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2016, 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
@@ -23,6 +23,7 @@
/*
* @test
+ * @requires vm.compMode != "Xcomp"
* @bug 8058897
* @library /testlibrary
* @modules java.base/sun.misc