JDK-8153659 : Create a CHeap backed LogStream class
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-04-06
  • Updated: 2020-10-09
  • Resolved: 2016-04-12
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
9 b116Fixed
Related Reports
Relates :  
Description
During VM initialization, before Thread::current() works, any resource allocation is prohibited. This means that classes like LogStream and LogStreamNoResourceMark can't be used.

I propose that we add a new LogStream class that allocates the backing buffer in CHeap memory.
Comments
Patch is out for review on hotspot-dev.
07-04-2016

ILW=L(Mildly annoying)H(seen duing vm initialization)H(no workaround)=P4
07-04-2016