RFR (S): 8227563: jvmti/scenarios/contention/TC05/tc05t001 fails ...

2019-09-04 Thread David Holmes
Bug: https://bugs.openjdk.java.net/browse/JDK-8227563 webrev: http://cr.openjdk.java.net/~dholmes/8227563/webrev/ See bug report for gory details. Basically on Windows thread-cpu-time may only get updated at the resolution of the timer interrupt, which may be as long as 16ms. The test checks th

Re: RFR: JDK-8192057: com/sun/jdi/BadHandshakeTest.java fails with java.net.ConnectException

2019-09-04 Thread serguei.spit...@oracle.com
Hi Alex, The fix looks good. Good simplification! Thanks, Serguei On 9/4/19 12:19, Alex Menkov wrote: Hi all, Please review the fix for BadHandshakeTest test. The problem is the test connects to the server twice and if debuggee hasn't yet handled disconnection, the next connect gets "connec

Re: RFR: 8230466: check malloc/calloc results in jdk.hotspot.agent

2019-09-04 Thread serguei.spit...@oracle.com
Hi Matthias, It looks good in general but I have some minor comments below. http://cr.openjdk.java.net/~mbaesken/webrevs/8230466.1/src/jdk.hotspot.agent/linux/native/libsaproc/symtab.c.frames.html  279 build_id_to_debug_filename (size_t size, unsigned char *data)  280 {  . . .  283   filename

RFR: JDK-8192057: com/sun/jdi/BadHandshakeTest.java fails with java.net.ConnectException

2019-09-04 Thread Alex Menkov
Hi all, Please review the fix for BadHandshakeTest test. The problem is the test connects to the server twice and if debuggee hasn't yet handled disconnection, the next connect gets "connection refused" error. Instead of adding delay before 2nd connect (we never know "good" value for the delay

Re: RFR: 8230466: check malloc/calloc results in jdk.hotspot.agent

2019-09-04 Thread Yasumasa Suenaga
Looks good! Yasumasa (ysuenaga) On 2019/09/04 16:28, Baesken, Matthias wrote: Hello Yasumasa and Chris, thanks for your input . Here is a new webrev , without the unneeded memset-calls after calloc . http://cr.openjdk.java.net/~mbaesken/webrevs/8230466.1/ Hope everyone is happy with th

RE: RFR: 8230466: check malloc/calloc results in jdk.hotspot.agent

2019-09-04 Thread Baesken, Matthias
Hello Yasumasa and Chris, thanks for your input . Here is a new webrev , without the unneeded memset-calls after calloc . http://cr.openjdk.java.net/~mbaesken/webrevs/8230466.1/ Hope everyone is happy with this now 😉 ! Best regards, Matthias > Hi Matthias, > > src/jdk.hotspot.agent/linu