In earlier versions, for files to be read by JPS, the fixed directory % TMP % written during JVM startup, or the hsperfdata_usrname/$ PID under $ TMP
But for the jdk16_23/24 bug, this file path is written according to-djava. Io. tmpdir. However, JPs still does not know where to find this file.
Find the process number under/tmp/hsperfdata_usrname. Therefore, if djava. Io. tmpdir is modified during JVM startup, JPs will find the wrong process number.
I have submitted the bug report. One minute after the submission, Oracle will immediately return to confirm that this is a bug, rather than checking whether it is a bug after a long test.
Dear Java Developer, Thank you for reporting this issue. We have determined that this report is a new bug and entered the bug into our internal bug tracking system under Bug Id: 7021676. You can monitor this bug on the Java Bug Database athttp://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7021676. It may take a day or two before your bug shows up in this external database. If you are a member of the Sun Developer Network (SDN), there are two additional options once the bug is visible. 1. Voting for the bugClick http://bugs.sun.com/bugdatabase/addVote.do?bug_id=7021676. 2. Adding the report to your Bug Watch list.You will receive an email notification when this bug is updated.Click http://bugs.sun.com/bugdatabase/addBugWatch.do?bug_id=7021676. The Sun Developer Network (http://developers.sun.com) is a free service that Sun offers. To join, visit https://softwarereg.sun.com/registration/developer/en_US/new_user. Regards, Java Developer Support