8148747: [TESTBUG] runtime/Unsafe/AllocateMemory.java fails with OOM during compilation
authorctornqvi
Wed, 03 Feb 2016 13:42:29 -0800
changeset 35922 64f3032d733c
parent 35921 3f909b955a05
child 35924 1d736ef364be
8148747: [TESTBUG] runtime/Unsafe/AllocateMemory.java fails with OOM during compilation Reviewed-by: coleenp, gtriantafill
hotspot/test/runtime/Unsafe/AllocateMemory.java
hotspot/test/runtime/Unsafe/Reallocate.java
--- 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