A Bug about the JVM Attach mechanism

Krystal Mok rednaxelafx at gmail.com
Thu Jun 20 07:06:29 UTC 2019


(Speaking on behalf of my own experience) Yes Alan, you're right on. I'm
fairly sure that's the symptom that Nijiaben is asking about here.

- Kris

On Wed, Jun 19, 2019 at 11:54 PM Alan Bateman <Alan.Bateman at oracle.com>
wrote:

> On 20/06/2019 05:10, nijiaben wrote:
> > :
> > I know this mechanism, can we provide means of recovery to avoid
> unavailability caused by accidental deletion?
> >
> Are you concerned about tmpreaper or cron jobs that periodically cleanup
> /tmp? There may indeed be an issue for applications that run for weeks
> or months. If someone is using jmap, jcmd or other tools using the
> attach API then it will trigger the attach listener to start. When they
> come back in a few weeks then the .java_pid<pid> file may have been
> removed so they cannot attach. Is this what what you are pointing out?
>
> -Alan
>


More information about the jdk8u-dev mailing list