Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6861984
Votes 0
Synopsis solaris version of libsaproc.so should support SA_ALTROOT directly
Category hotspot:tools
Reported Against
Release Fixed hs16(b08), 6u18(b01) (Bug ID:2181950) , 7(b71) (Bug ID:2182206)
State 11-Closed, Unverified, request for enhancement
Priority: 4-Low
Related Bugs
Submit Date 18-JUL-2009
Description
When using the SA to open core files on machines which are different than the machine where the crash occurred, we need to redirect libproc to open the libraries that we've gotten from the target machine.  It has no built in support for doing this so we've used a couple different techiniques for this.  One is a library called interpose.so which is configured separately and the other is a modified version of libproc that has support for a hook to change where it reads files from.  These each have their own problems but we need a solution that's built into the SA and requires little external configuration.  The only applies to solaris as our linux libsaproc has handles this directly and windows operates completely differently.

The fix I've settled on is to take the existing SA_ALTROOT code which is used with the custom libproc and built an audit library that allows saproc to interpose on all open calls from libproc only.  This gets around some of the problems with interpose.so interposing on opens that you don't actually want.
Posted Date : 2009-07-18 01:18:38.0
Work Around
N/A
Evaluation
http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/a94af87c3357
Posted Date : 2009-07-24 23:21:04.0

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/a94af87c3357
Posted Date : 2009-08-10 07:33:23.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang