Hi,
How does the Oracle JDK 8 VM map Java threads priorities to native OS threads priorities?
for example,
System.out.println(Thread.MAX_PRIORITY);
System.out.println(Thread.MIN_PRIORITY);
System.out.println(Thread.NORM_PRIORITY);
will output on Linux:
10
1
5
so refining the question:
- on linux, will the Java threads be mapped to native Linux priorities 1..0? which Linux scheduling policy e.g., OTHER (RR), FIFO?
- is the mapping consistent with mapping on other platforms?
thanks!