Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5107646

RFE: Allow hs_err<pid> file location to be customizable

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.2
    • hotspot
    • sparc
    • solaris_8

      Name: rmT116609 Date: 09/27/2004


      A DESCRIPTION OF THE REQUEST :
      We're getting core dumps in JVM 1.4.2_04 (soon testing 1.4.2_05). The app lives on a shared, read-only file system. We don't get the hs_err<pid> files, and we need those to debug the problem

      JUSTIFICATION :
      There must be many apps that need this customiable, either the location is read-only, or shared, or they want to link it with the core location (as set by coreadm on Solaris or the appropriate sysctl in Linux 2.6).

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      either:
      a) a command line flag to set this location (easiest)
      or
      b) default to the location that coreadm/sysctl kernel.core_pattern uses (a bit more work)

      these are not mutually exclusive

      Possible workaround - if you can't write to a file, write to stdout.
      ACTUAL -
      Attempts to write in processes CWD, if it fails, then hs_err<pid> is never written
      (Incident Review ID: 315576)
      ======================================================================

            hhuangsunw Hui Huang (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: