What is “starvation” when used in the context of the Java threading model?
· Starvation is when the Java runtime (JVM) doesn’t allocate time to a thread to execute. This may be due to a poor scheduling algorithm (like green Threads under Solaris, where a for loop from 1 to 1 million doing something CPU intensive wouldn’t yield the CPU under Solaris but would under Windows), poor programming practice (not returning from the paint() method in an applet), or a hostile attack (like hitting a host with a denial of service attack where the CPU is busy outside the Java process).
Related Questions
- What option can be specified as an argument to the jdk to increase the thread heap size used by the JDK in the context of the webserver?
- How can I contact someone to discuss how Garmin’s Fleet Management Interface can be used within the context of my dispatch system?
- What is "starvation" when used in the context of the Java threading model?