JDK-8153541 : Native memory allocation failure in java/lang/ref/SoftReference/Pin.java
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • Submitted: 2016-04-05
  • Updated: 2016-05-30
  • Resolved: 2016-05-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Relates :  
Description
Test fails with the following error:

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32800 bytes for Chunk::new


---------------  T H R E A D  ---------------

Current thread (0x0000008753176000):  JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=22372, stack(0x0000008753890000,0x0000008753990000)]


Current CompileTask:
C2:  35159 1617    b  4       sun.net.www.ParseUtil::<clinit> (620 bytes)

Comments
Closing as not an issue: Confirmed that the other test that was running concurrently consumed all available memory.
15-04-2016

Nothing obviously wrong in this test, but hs_err shows system very low on swap. The other failure on http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=1412980.JAVASE.NIGHTLY.VM.Comp_Baseline-Tiered.2016-04-04-98 was running at the same time according to the hs_err (jtreg -conc:2). It has 16279 "process reaper" threads. The bug of that test (JDK-8086278) has a long history of OOM failures.
12-04-2016

I don't know what you are doing but why can't you just attach the file as it is? I did it myself.
06-04-2016

Please fix the hs_err attachment.
06-04-2016