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

Details
Type:
Enhancement
Submit Date:
2012-12-14
Status:
Resolved
Updated Date:
2013-04-30
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
URL:   http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/a7114d3d712e
User:  kvn
Date:  2013-01-23 01:15:24 +0000

                                     
2013-01-23
URL:   http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/a7114d3d712e
User:  amurillo
Date:  2013-01-25 20:42:57 +0000

                                     
2013-01-25



Hardware and Software, Engineered to Work Together