RFR 9: 8003488 Add Process.getPid (original) (raw)
Florian Weimer fweimer at redhat.com
Wed Jul 23 13:08:37 UTC 2014
- Previous message: RFR: 6721085 : (xxs) Fix broken link to Collections Framework Tutorial
- Next message: RFR: 8044671: NPE from JapaneseEra when a new era is defined in calendar.properties
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 05/22/2014 05:34 PM, David M. Lloyd wrote:
I guess this is a little late, and minor, but the "jstack" tool uses the acronym "nid" for this purpose, which I believe is mapped to the same concept (on Linux it is anyway).
I think either this terminology should be unified on the jstack side, or else the method should be called "getNativeId" or "getNid" or something.
nid is the gettid return value (kernel task ID), which is distinct from getpid. I doubt there are plans for exposing kernel tasks at the JDK level. Even glibc attempts to hide task IDs.
-- Florian Weimer / Red Hat Product Security
- Previous message: RFR: 6721085 : (xxs) Fix broken link to Collections Framework Tutorial
- Next message: RFR: 8044671: NPE from JapaneseEra when a new era is defined in calendar.properties
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]