RFR (XS) 8213383 : Wrap up pthread_cond_wait into a loop to workaround potential spurious wakeups

John Rose john.r.rose at oracle.com
Fri Nov 9 04:23:09 UTC 2018


On Nov 5, 2018, at 1:42 PM, David Holmes <david.holmes at oracle.com> wrote:
> 
> I hadn't realized this is hotspot code?

Strictly speaking, HotSpot code is code under src/hotspot/**,
while that code is under java.base/native/**.  Code inside
any module under $MODULE/$PLATFORM/native/** can be
JNI methods, library routines, and even small applications.

These bits of C code come from many different sources,
and rarely look like HotSpot code.

— John

P.S. For an overview, say:
$ hg loc -I 'src/*/*/native'  | sed 's|[^/]*$||' | sort -u


More information about the hotspot-runtime-dev mailing list