name is a combination of:
rmi name = Name to which the remote RMI object is bound in the RMI registry
port = Port number where the RMI registry is expected to be found
"jstatd is bound to ..."?
// Katja
What does the name.toString() look like? Should the message be “jstatd
listening on …”?
On 2 apr 2015, at 14:56, Yekaterina Kantserova
<[email protected]> wrote:
Jaroslav,
thanks, will do!
// Katja
On 04/02/2015 02:44 PM, Jaroslav Bachorik wrote:
Hi Katja,
On 2.4.2015 14:16, Yekaterina Kantserova wrote:
Hi,
Could I please have a review of this fix.
bug: https://bugs.openjdk.java.net/browse/JDK-8027668
webrev: http://cr.openjdk.java.net/~ykantser/8027668/webrev.00/
In src/jdk.jvmstat/share/classes/sun/tools/jstatd/Jstatd.java I would suggest adding
System.out.flush() after printing "jstatd is started on ..." to make sure the
output is actually committed to stdout.
Please, update the copyright years.
-JB-
The tests can still contain a race. There is a possibility the jstad is
not really started though there is a pid for the process. The suggestion
is to let jstatd notify it's started and for the test wait until this
notification.
Thanks,
Katja