[PING] Re: RFR: 8145294: TestLogRotation.java triggers a race in the UL framework

2015-12-18 Thread Marcus Larsson
On 2015-12-16 09:46, Marcus Larsson wrote: Hi, Please review the following patch to fix a race in file rotations with UL. Summary: freopen and fwrite are not safe to use concurrently and hence the VM might crash if a thread tries to write during a rotation. Writing and rotating needs to b

RE: RFR: 8145294: TestLogRotation.java triggers a race in the UL framework

2015-12-16 Thread Markus Gronlund
Hi Marcus, Looks good, thanks for fixing. As we spoke out-of-band, post this fix, lets figure a way of how to generalize this with some kind of SemaphoreAcquireRelease utility. /Markus -Original Message- From: Marcus Larsson Sent: den 16 december 2015 09:46 To: serviceability-dev@open