Losing features of JVM_Open, e.g. CLOEXEC

Mario Torre neugens.limasoftware at gmail.com
Thu Oct 30 17:52:30 UTC 2014


Indeed, but /proc/$PID/fd can perhaps be useful here? Not sure if this
can make a reasonable test though.

Cheers,
Mario

2014-10-30 18:30 GMT+01:00 Martin Buchholz <martinrb at google.com>:
> On Thu, Oct 30, 2014 at 3:24 AM, Mario Torre
> <neugens.limasoftware at gmail.com> wrote:
>> I've been thinking perhaps one can use fcntl to check what flags are
>> passed given we can retrieve all the file descriptors that have been
>> opened?
>
> It's possible to find all the open file descriptors (e.g. using
> /proc/self/fd), but they may not "belong" to the JDK.



-- 
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

Java Champion - Blog: http://neugens.wordpress.com - Twitter: @neugens
Proud GNU Classpath developer: http://www.classpath.org/
OpenJDK: http://openjdk.java.net/projects/caciocavallo/

Please, support open standards:
http://endsoftpatents.org/



More information about the core-libs-dev mailing list