HP-UX Programmer's Guide for Java 2

Table Of Contents
However, in Java, the range of priorities must be passed to the JVM at start-up.
Therefore, we need to know the values prior to starting the application.
For each of the scheduling policies:
POSIX PRIORITIES: SCHED_FIFO, SCHED_RR, SCHED_RR2
The POSIX priorities range from 0 to 31 where 31 is the highest and 0 is the
lowest. The number of priority levels can be changed with the kernel parameter
'rtsched_numpri'
(possible values are 32-512).
REALTIME PRIORITIES: SCHED_RTPRIO
The range is -128 to -1.
TIMESHARE PRIORITIES: SCHED_HPUX, SCHED_NOAGE
For SCHED_HPUX, the default range is -256 (base) to -129 (top).
-129 to -154 are system priorities available only to 'root' users
-179 to -256 are user timeshare priorities
For SCHED_NOAGE, the range is -256 (base) to -154 (top). For HP-UX 11.11 and
later releases, the highest value is -179 (top).
An example of the use of the option on HP-UX 11.11 and later HP-UX releases is:
-XX:SchedulerPriorityRange=SCHED_NOAGE,-199,-179
The SCHED_NOAGE scheduling policy will be used - a thread's priority will remain
fixed.
The Java thread priorities will map as:
1:
-199
2:
-197
3:
-195
4:
-193
5:
26 HotSpot Technology Tools and Commands