United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8005055 : pass outputStream to more opto debug routines

Details
Type:
Enhancement
Submit Date:
2012-12-14
Status:
Resolved
Updated Date:
2013-06-26
Project Name:
JDK
Resolved Date:
2013-01-23
Component:
hotspot
OS:
Sub-Component:
compiler
CPU:
Priority:
P4
Resolution:
Fixed
Affected Versions:
Fixed Versions:
hs25 (b17)

Related Reports
Backport:
Backport:
Backport:

Sub Tasks

Description
We pass the outputStream to much more debug routines than openJDK does, as we write a lot more information to files e.g., in case of a crash.

I would like to contribute the changes that allow to pass the output stream to node->dump() and everything reachable from there.

This also fixes the usage of output stream in print_register_type() in oopMap.cpp and in MachNullCheckNode::format(), where a single print command still used tty.

Further we initialize _node_regs_max_index so that node_regs_max_index()  == 0 indicates that registers of a node can be accessed.  This is also useful in debug output.

http://cr.openjdk.java.net/~goetz/webrevs/webrev-os_in_nodeDump/

Best regards,
  Goetz.
                                    

Comments



Hardware and Software, Engineered to Work Together