RFR [8057744] (process) Synchronize exiting of threads and process [win]

2014-09-06 Thread Ivan Gerasimov
Hello! This is a proposal to address issue with wrong exit codes from a Java processes on Windows. In order to avoid a race, calls to _endthread(), exit and _exit() are explicitly synchronized. We allow simultaneous calls to _endthread() by multiple threads. However, at the time exit() or _exi

Re: RFR: JDK-8057556: JDP should better handle non-active interfaces

2014-09-06 Thread dmitry . samersoff
Please, file a separate issue. --Dmitry -Original Message- From: Yasumasa Suenaga To: Peter Allwin Cc: Dmitry Samersoff , "core-libs-...@openjdk.java.net" , "serviceability-dev@openjdk.java.net" Sent: Sat, 06 Sep 2014 19:37 Subject: Re: RFR: JDK-8057556: JDP should better handle no

Re: RFR: JDK-8057556: JDP should better handle non-active interfaces

2014-09-06 Thread Yasumasa Suenaga
Hi all, My patch works fine in my environment, however, JMX agent will be terminated silently when I run command as following: java -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxr

Re: RFR: Backport of JDK-8044135: Add API to start JMX agent from attach framework

2014-09-06 Thread Staffan Larsen
Thanks! /Staffan (mobile) > On 5 sep 2014, at 17:51, Alan Bateman wrote: > >> On 04/09/2014 19:44, Staffan Larsen wrote: >> Hi Jaroslav, >> >> Thanks for the comments. I think they are valid, but I would prefer to do >> them in a separate changeset if that is ok with you? >> >> I still need