JDK-8035648 : Don't use Handle in java_lang_String::print
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-02-24
  • Updated: 2015-01-21
  • Resolved: 2014-02-27
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 8 JDK 9
8u40Fixed 9 b04Fixed
Description
Change java_lang_String::print to take a raw String oop instead of a Handle to a String oop. This change makes java_lang_String::print callable from code that has no HandleMark setup. E.g. when calling from a debugger.
Comments
noreg-manual: attach with a debugger, find a String instance and then call java_lang_String::print(string, tty).
08-07-2014