logo
Product categories

EbookNice.com

Most ebook files are in PDF format, so you can easily read them using various software such as Foxit Reader or directly on the Google Chrome browser.
Some ebook files are released by publishers in other formats such as .awz, .mobi, .epub, .fb2, etc. You may need to install specific software to read these formats on mobile/PC, such as Calibre.

Please read the tutorial at this link.  https://ebooknice.com/page/post?id=faq


We offer FREE conversion to the popular formats you request; however, this may take some time. Therefore, right after payment, please email us, and we will try to provide the service as quickly as possible.


For some exceptional file formats or broken links (if any), please refrain from opening any disputes. Instead, email us first, and we will try to assist within a maximum of 6 hours.

EbookNice Team

(Ebook) Java Threads by Scott Oaks, Henry Wong ISBN 9780596007829, 0596007825

  • SKU: EBN-1307968
Zoomable Image
$ 32 $ 40 (-20%)

Status:

Available

4.7

25 reviews
Instant download (eBook) Java Threads after payment.
Authors:Scott Oaks, Henry Wong
Pages:309 pages.
Year:2004
Editon:3rd ed
Publisher:O'Reilly & Associates
Language:english
File Size:2.05 MB
Format:pdf
ISBNS:9780596007829, 0596007825
Categories: Ebooks

Product desciption

(Ebook) Java Threads by Scott Oaks, Henry Wong ISBN 9780596007829, 0596007825

This book makes the following claims which as far as I can see are entirely baseless, for the reasons given: > A Java virtual machine is required to implement a preemptive, priority-based scheduler The word 'pre-emptive' does not appear in the JLS. > The Java virtual machine never changes the priority of a thread, even if the thread has been running for a certain period of time Can't find that anywhere either. > the contract between the Java virtual machine and the underlying operating system is that the operating system must generally choose to run the Java thread with the highest priority The 'contract' is between the Java code and the JVM, not the JVM and the O/S. > That's what we mean when we say that Java implements a priority-based scheduler Java isn't required to 'implement' a scheduler at all. > This scheduler is implemented in a preemptive fashion, meaning that when a higher-priority thread comes along, that thread interrupts (preempts) whatever lower-priority thread is running at the time. This appears nowhere in the JLS. > The contract with the operating system, however, is not absolute, which means that the operating system can sometimes choose to run a lower-priority thread. In other words it's +not+ pre-emptive. Make up your mind. > Java's requirement for a priority-based, preemptive scheduling mechanism ... Which is nowhere to be found. > A Java thread can have one of 11 priorities MIN_PRIORITY is 1, MAX_PRIORITY is 10: that makes 10, not 11. > In fact, preemption means only that a higher-priority thread runs instead of a lower-priority one No it doesn't. It means that when a higher-priority thread becomes ready it pre-empts the execution of any lower-priority threads that are currently executing regardless of time-slice etc. This is a feature of real-time systems that Java is +not+ required to implement. This book cannot be recommended in the presence of these egregious errors. Doug Lea's book as recommended by other reviewers is the one to go for.
*Free conversion of into popular formats such as PDF, DOCX, DOC, AZW, EPUB, and MOBI after payment.

Related Products