Request for review: 7141739: [osx] Local attach fails if is set

Staffan Larsen staffan.larsen at
Wed Feb 1 08:05:12 PST 2012

Please review the following change.


This is a followup of bug 7132199 which is fixed in jdk8 and jdk7u-dev.

If the user sets to something else than /tmp, the attach framework will fail (for example jstack). The reason is that Hotspot and the jdk does not agree on which directory the well-known .java_pid and .attach_pid files should be in. On OSX Hotspot will always create these in the per-user secure temporary directory, but the jdk will look in

This fix makes sure the jdk looks in the same location as Hotspot.


More information about the macosx-port-dev mailing list