Why is fork1() exported from hotspot? (original) (raw)
Thomas Stüfe thomas.stuefe at gmail.com
Tue Oct 20 07:14:53 UTC 2015
- Previous message: RFR (XS) 8047212: fix race between ObjectMonitor alloc and verification code
- Next message: Why is fork1() exported from hotspot?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
on Linux we define and export "fork1()" - a stub for fork() - and "fork1" also appears in linker mapfiles for bsd and AIX. The latter, I am sure, is just a copy-paste-effect.
Why do we need to define and export fork1() for non-solaris platforms? We only ever use it on Solaris.
The comment in os_linux.cpp is not really enlightening: "// Something to do with the numa-aware allocator needs these symbols"
Does anyone know why this is needed?
Regards, Thomas
- Previous message: RFR (XS) 8047212: fix race between ObjectMonitor alloc and verification code
- Next message: Why is fork1() exported from hotspot?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]