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

-Djava.io.tmpdir doesn't work for generating hs_error files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 8, 9, 10
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_144"
      Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux 4.4.74-92.38-default
       x86_64 x86_64 x86_64 GNU/Linux


      A DESCRIPTION OF THE PROBLEM :
      When Java process starts it creates .java_pid<provide PID> file in /tmp folder, can we set to use different folder than /tmp

      it is already specified with -Djava.io.tmpdir for user defined path, but this path is not taken into consideration and always it creates in /tmp folder

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      start any java process and the file will be created in /tmp folder


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: