25%
Multithreaded Programming with Java Technology

Multithreaded Programming with Java Technology

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

Java offers powerful multithreading capabilities -- even on operating systems that offer no inherent multithreading support. Multithreading gives Java developers a powerful tool for dramatically improving the responsiveness and performance of their programs. Now there's a complete guide to multithreaded programming with the Java 2 platform, written by multithreaded programming experts Bil Lewis and Daniel J. Berg. Start by understanding the rationale, fundamental concepts and foundations of multithreading, including the structures upon which threads are built, thread construction and lifecycles. Then, using extensive code examples, you'll master thread scheduling models; synchronization variables; and learn how to solve complex synchronization problems. The authors explain thread-specific data, and demonstrate how to leverage OS libraries to make Java multithreading more effective. They also cover multithreaded program design, interactions with RMI, tools for building threaded programs; and advanced techniques for maximizing thread performance.

Table of Contents:
1. Introduction. 2. Concepts. Background: Traditional Operating Systems. What Is a Thread? Kernel Interaction. Concurrency vs Parallelism. System Calls. Signals. Synchronization. Scheduling. The Value of Using Threads. Parallelism. Throughput. Responsiveness. Communications. System Resources. Distributed Objects. Same Binary for Uniprocessors and Multiprocessors. Program Structure. What Kinds of Programs to Thread. Inherently MT Programs. Not Obviously MT Programs. Automatic Threading. Programs Not to Thread. What About Shared Memory? Threads Standards. Performance. Operating Systems. NFS. SPECfp 95. SPECint_rate95. Java Benchmarks. 3. Foundations. Implementation vs Specification. Thread Libraries. The Process Structure. Lightweight Processes. Threads and LWPs. The POSIX Multithreaded Model. System Calls. Signals. 4. Lifecycle. Thread Lifecycle. Exiting a Thread. The Runnable Interface. Waiting for Threads. Who Am I? Exiting the Process. Suspending a Thread. Cancellation. ThreadDeath. Garbage Collecting Threads. Zombies. Is She Still Alive? Restarting Threads. An Example: Create and Join. APIs Used in This Chapter. The Class java.lang.Thread. The Class Extensions.InterruptibleThread. The Interface java.lang.Runnable. 5. Scheduling. Different Models of Kernel Scheduling. Many Threads on One LWP. One Thread per LWP. Many Threads on Many LWPs (Strict). The Two-Level Model. Thread Scheduling. Process Contention Scope. System Contention Scope. Context Switching. Preemption. How Many LWPs? How to Get Those LWPs in Java. Changing Scheduling Parameters for LWPs. Realtime LWPs. Allocation Domains. Binding LWPs to Processors. Java Scheduling Summary. When Should You Care About Scheduling? APIs Used in This Chapter. The Class java.lang.Thread. 6. Synchronization. Synchronization Issues. Atomic Actions and Atomic Instructions. Critical Sections. Lock Your Shared Data! Synchronization Variables. Mutexes. Semaphores. Condition Variables. Java wait/notify. InterruptedException. Controlling the Queue Length. POSIX-Style Synchronization in Java. APIs Used in This Chapter. The Class java.lang.Object. The Class Extensions.Semaphore. The Class Extensions.Mutex. The Class Extensions.ConditionVar. 7. Complexities. Complex Locking Primitives. Readers/Writer Locks. Priority Inheritance Mutexes. FIFO Mutexes. Recursive Mutexes. Nonblocking Synchronization. Spin Locks. Timeouts. Elvis and the UFOs. Other Synchronization Variables. Join. Barriers. Single Barriers. Win32 Event Objects. Win32 Critical Sections. Multiple Wait Semaphores. Interlocked Instructions. Message Queues. Win32 I/O Completion Ports. Communicating via Streams. Volatile. Performance. Condition Variables vs wait/notify. Coarse vs Fine Grain Locking. What to Lock. Double-Checked Locking. Synchronization Problems. Deadlocks. Race Conditions. Recovering from Deadlocks. The Lost Wakeup. InterruptedException. APIs Used in This Chapter. The Class Extensions.RWLock. The Class Extensions.Barrier. The Class Extensions.SingleBarrier. 8. TSD. Thread-Specific Data. Java TSD. APIs Used in This Chapter. The Class java.lang.ThreadLocal. 9. Cancellation. What Cancellation Is. Polling for Cancellation. Asynchronous Cancellation. Deferred Cancellation. Using interrupt() for Deferred Cancellation. Progressive Shutdown. interrupt( ). Don't Call stop(). ThreadDeath. Using stop() to Implement Thread.exit(). Never Exit a Thread! Defined Cancellation/Interruption Points. Not Cancelling upon Interruption. Handling Interrupts. Cancellation State. A Cancellation Example. Using Cancellation. Ensuring Bounded CPU Time. Interrupting Sleeping Threads. The Morning After. Cleanup. Implementing enableInterrupts( ). A Cancellation Example (Improved). Simple Polling. APIs Used in This Chapter. The Class java.lang.Thread. The Class Extensions.InterruptibleThread. 10. Details. Thread Groups. Thread Security. Real-World Examples. General Tips and Hints. Daemon Threads. Daemon Thread Groups. Calling Native Code. A Few Assorted Methods. Stack Size. Deprecated Methods. The Effect of Using a JIT. Adaptive Compilers. APIs Used in This Chapter. The Class java.lang.Thread. The Class java.lang.ThreadGroup. 11. Libraries. The Native Threads Libraries. Multithreaded Kernels. Symmetric Multiprocessing. Are Libraries Safe? Window Systems. Working with Unsafe Libraries. When Should a Class Be Synchronized? Synchronized Collections in Java 2. Java's Multithreaded Garbage Collector. 12. Design. Making Libraries Safe and Hot. Making malloc() More Concurrent. Manipulating Lists. Single, Global Mutex. Global RWLock with Global Mutex to Protect Salaries. Global RWLock with Local Mutex to Protect Salaries. One Local Lock. Two Local Locks. Local RWLock with Local Mutex to Protect Salaries. Program Design. Design Patterns. 13. RMI. Remote Method Invocation. Sending Remote References. RMI's Use of Threads. The Deadlock Problem with RMI. Remote Garbage Collection. 14. Tools. Static Lock Analyzer. Using a Thread-Aware, Graphical Debugger. Proctool. TNFview. 15. Performance. Optimization: Objectives and Objections. CPU Time, I/O Time, Contention, Etc. CPU. Memory Latency. Memory Bandwidth. I/O Latency. Contention. Throughput vs Latency. Limits on Speedup. Amdahl's Law. Performance Bottlenecks. Benchmarks and Repeatable Testing. Is It Really Faster? General Performance Optimizations. Thread-Specific Performance Optimizations. Dealing with Many Open Sockets. The Lessons of NFS. 16. Hardware. Types of Multiprocessors. Shared Memory Symmetric Multiprocessors. Bus Architectures. LoadLocked/StoreConditional and Compare and Swap. Volatile: The Rest of the Story. Memory Systems. Reducing Cache Misses. 17. Examples. Threads and Windows. Displaying Things for a Moment (Memory.java). Socket Server (Master/Slave Version). Socket Server (Producer/Consumer Version). Making a Native Call to pthread_setconcurrency( ). Actual Implementation of POSIX Synchronization. A Robust, Interruptible Server. Disk Performance with Java. Other Programs on the Web. Appendix A: Internet. Threads Newsgroup. Code Examples. Vendor's Threads Pages. Threads Research. Freeware Tools. Other Pointers. The Authors on the Net. Appendix B: Books. Threads Books. Related Books. Appendix C: Timings. Appendix D: APIs. Function Descriptions. The Class java.lang.Thread. The Interface java.lang.Runnable. The Class java.lang.Object. The Class java.lang.ThreadLocal. The Class java.lang.ThreadGroup. Helper Classes from Our Extensions Library. The Class Extensions.InterruptibleThread. The Class Extensions.Semaphore. The Class Extensions.Mutex. The Class Extensions.ConditionVar. The Class Extensions.RWLock. The Class Extensions.Barrier. The Class Extensions.SingleBarrier. Glossary. Index.


Best Sellers


Product Details
  • ISBN-13: 9780130170071
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Prentice Hall
  • Height: 178 mm
  • No of Pages: 461
  • Series Title: Sun Microsystems Press Java
  • Weight: 816 gr
  • ISBN-10: 0130170070
  • Publisher Date: 17 Feb 2000
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Spine Width: 33 mm
  • Width: 233 mm


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Multithreaded Programming with Java Technology
Pearson Education (US) -
Multithreaded Programming with Java Technology
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Multithreaded Programming with Java Technology

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA