changeset 35922:64f3032d733c

8148747: [TESTBUG] runtime/Unsafe/AllocateMemory.java fails with OOM during compilation Reviewed-by: coleenp, gtriantafill
author ctornqvi
date Wed, 03 Feb 2016 13:42:29 -0800
parents 3f909b955a05
children 1d736ef364be
files hotspot/test/runtime/Unsafe/AllocateMemory.java hotspot/test/runtime/Unsafe/Reallocate.java
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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