mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-08 17:38:38 +00:00
8067751: OOMEInReferenceHandler.java fails: Cleaner terminated abnormally
OOME with message "GC overhead limit exceeded". -XX:-UseGCOverheadLimit was added to avoid OOME in resource handler. Reviewed-by: jmasa, jwilhelm
This commit is contained in:
parent
fd925c52da
commit
c15946fb1a
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2014, 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
|
||||
@ -25,7 +25,7 @@
|
||||
* @test
|
||||
* @bug 7038914 8016341
|
||||
* @summary Verify that the reference handler does not die after an OOME allocating the InterruptedException object
|
||||
* @run main/othervm -Xmx24M -XX:-UseTLAB OOMEInReferenceHandler
|
||||
* @run main/othervm -XX:-UseGCOverheadLimit -Xmx24M -XX:-UseTLAB OOMEInReferenceHandler
|
||||
* @author peter.levart@gmail.com
|
||||
*/
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user