or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
40 used & new from $0.25

Have one to sell? Sell yours here
 
   
Java(TM) Platform Performance: Strategies and Tactics
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

Java(TM) Platform Performance: Strategies and Tactics (Paperback)

~ (Author), Jeff Kesselman (Author)
3.6 out of 5 stars  See all reviews (17 customer reviews)

List Price: $39.99
Price: $26.23 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.76 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 1 left in stock--order soon (more on the way).

Want it delivered Tuesday, November 10? Choose One-Day Shipping at checkout. Details
20 new from $10.00 20 used from $0.25

Frequently Bought Together

Java(TM) Platform Performance: Strategies and Tactics + Java Performance Tuning (2nd Edition) + Effective Java (2nd Edition)
Price For All Three: $88.93

Show availability and shipping details

  • This item: Java(TM) Platform Performance: Strategies and Tactics by Steve Wilson

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Java Performance Tuning (2nd Edition) by Jack Shirazi

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Effective Java (2nd Edition) by Joshua Bloch

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Performance Analysis for Java(TM) Websites

Performance Analysis for Java(TM) Websites

by Stacy Joines
4.8 out of 5 stars (11)  $45.81
Better, Faster, Lighter Java

Better, Faster, Lighter Java

by Bruce Tate
3.9 out of 5 stars (31)  $25.51
Pro Java EE 5 Performance Management and Optimization

Pro Java EE 5 Performance Management and Optimization

by Steven Haines
5.0 out of 5 stars (2)  $51.99
Effective Java: Programming Language Guide (Java Series)

Effective Java: Programming Language Guide (Java Series)

by Joshua Bloch
4.8 out of 5 stars (122)  $32.33
Effective Java (2nd Edition)

Effective Java (2nd Edition)

by Joshua Bloch
4.9 out of 5 stars (36)  $33.03
Explore similar items

Editorial Reviews

Amazon.com Review

Now that Java is doing more and more in the field, improving its speed and efficiency is crucial for many working developers. Written by two Sun insiders, Java Platform Performance gives the experienced Java programmer plenty of useful strategies and tips for getting the most out of Java code.

This concise book offers plenty of concrete suggestions for improving real-world programs, but it also helps you think about performance as you design and test Java software. The authors first look at what "performance" really means. Beyond raw computational speed, this term can mean reducing RAM footprint, creating more responsive interfaces, and adding better scalability to programs so that they can handle more users and data.

A strength of this title is that the authors share their expertise, garnered from optimizing the Swing classes for Sun. (The tips for creating custom models and renderers in Swing will help your tables and other controls work with large datasets efficiently.) This text shows you how to benchmark and profile Java code and where to look for problem hot spots--and, once these are solved, where to go next for even better performance. You learn how to reduce object creation and class loading, which can allow your programs to load faster and consume less memory.

Also notable here is a solution for letting multiple Java programs share a single JVM for reduced memory overhead. The authors do a good job of dismantling the notion that using the Java Native Interface (JNI) is a quick fix for better performance. (The benchmarked code suggests that in almost every case native code is likely to be slower.) They also show how memory leaks still can exist in Java, and how to find them. The book closes with a guide to Java garbage collection and the latest on Sun's HotSpot Virtual Machine.

If anything, this book will convince you that good performance in Java isn't accidental; it takes planning, expertise, and plenty of testing. Also, it will get you thinking about performance in new ways with excellent strategies and tips that can help you write faster and more efficient Java code. --Richard Dragan

Topics covered:
  • Measuring Java performance (computational speed, RAM footprint, startup time, scalability, perceived performance)
  • Engineering performance into the software design process
  • Benchmarking techniques (micro- and macro-benchmarks)
  • Profiling
  • Techniques to improve I/O performance
  • Reducing RAM footprint (including minimizing object creation and detecting memory leaks)
  • Controlling class loading (eager class loading and patterns for reducing the number of classes)
  • Running multiple Java programs within the same virtual machine
  • Optimizing String objects
  • Object mutability and performance
  • Choosing the right algorithm and data structure
  • The Java Collection classes and arrays compared
  • Four patterns for the Java Native Interface (JNI)
  • Why native code is often slower
  • Swing custom models and renderers for improved performance and scalability
  • JDK 1.3 and Swing Timers for more responsive user interfaces
  • Deployment and performance hints
  • Tutorial on Java garbage collection
  • The Java HotSpot Virtual Machine



Product Description

This book addresses a vital issue for all those developing software for the Java(tm) platform: how to achieve maximum performance and scalability for their applications. Drawing on the authors' knowledge of the Java programming language and their extensive experience working on performance issues, the book reveals common mistakes and misconceptions concerning the performance characteristics of Java technologies. It offers overall development strategies and concrete, battle-tested techniques to dramatically improve the performance of applications constructed with the Java programming language. Java(tm) Platform Performance highlights the importance of integrating performance evaluation into the application development process and discusses measurement techniques. The book then presents practical tactics for enhancing application performance in the areas of I/O, RAM footprint, small object management, algorithms, data structures, Swing, and deployment. Specific topics covered include: Incorporating performance evaluation into the development process Profiling and benchmarking Building scalable, fast Swing GUIs Using high-speed I/O Computing and controlling the RAM footprint Reducing the number of classes Eliminating temporary objects Selecting high-performance algorithms and data structures Using Java native code and applet packaging efficiently Garbage collection Java HotSpot(tm) technology With an understanding of the performance issues and specific techniques for reducing overhead discussed in this book, you will have the information you need to enhance the efficiency, speed, and scalability of your software.

Product Details

  • Paperback: 256 pages
  • Publisher: Prentice Hall PTR (June 10, 2000)
  • Language: English
  • ISBN-10: 0201709694
  • ISBN-13: 978-0201709698
  • Product Dimensions: 9.1 x 7.3 x 0.6 inches
  • Shipping Weight: 14.9 ounces (View shipping rates and policies)
  • Average Customer Review: 3.6 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon.com Sales Rank: #692,016 in Books (See Bestsellers in Books)

More About the Author

Steve Wilson
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Steve Wilson Page

Look Inside This Book


What Do Customers Ultimately Buy After Viewing This Item?

Java(TM) Platform Performance: Strategies and Tactics
45% buy the item featured on this page:
Java(TM) Platform Performance: Strategies and Tactics 3.6 out of 5 stars (17)
$26.23
Java Performance Tuning (2nd Edition)
19% buy
Java Performance Tuning (2nd Edition) 4.2 out of 5 stars (45)
$29.67
Pro Java EE 5 Performance Management and Optimization
16% buy
Pro Java EE 5 Performance Management and Optimization 5.0 out of 5 stars (2)
$51.99
Effective Java (2nd Edition)
12% buy
Effective Java (2nd Edition) 4.9 out of 5 stars (36)
$33.03

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

17 Reviews
5 star:
 (5)
4 star:
 (4)
3 star:
 (4)
2 star:
 (4)
1 star:    (0)
 
 
 
 
 
Average Customer Review
3.6 out of 5 stars (17 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
28 of 32 people found the following review helpful:
2.0 out of 5 stars Shallow coverage with some redeeming utility, December 21, 2001
By Bob Carpenter (New York, NY) - See all my reviews
The table of contents is deceptive, because all of the important optimization topics are covered, including the Java-specific ones. The problem is, most of these topics are not covered in any depth beyond a simple introduction. I like terse books and believe most books about computers these days are way too fat; my hats are off to Addison Wesley for controlling that tendency with well edited books in this series. This book is thin at 230 pages, but unfortunately, a lot of that is filler of the "let me tell you what I'm going to tell you, tell you, and then tell you what I told you variety.

The advice is generally sound, such as "use a profiler to decide what to optimize", but all too often the advice stops there. One learns that linked lists are fast for deletes and array lists are fast for random access. But what if neither has the performance characteristics you need?

I would recommend Jon Bentley's "Programming Pearls" for someone who really wants to get a feel for optimization through a number of tight case studies. The examples may be C, but they're insightful and more applicable to the problems you're likely to face than the ones encountered when writing the Swing or Collections classes themselves. Then go out and use a serious optimizer like Quantify, which is essentially what the authors of this book suggest. At that point, you'll wonder why the authors stopped their review of Collections with Sun's built-in implementations.

The code for running mulitple programs and controlling class loading in Chapter 6, though I have not tried it, is interesting and something I'd not seen elsewhere. Other diversions, such as timers and threading in Swing are covered elsewhere. What would have been helpful is a detailed look at debugging threading performance, say through object, resource or thread pooling (an idea dismissed earlier for "small objects").

One glaring omission is a serious micro-benchmarking of basic operations. I found the comparison of speed when using final vs. non-final classes or methods to be startling in practice, and numbers here would help. Similarly, access times for hash tables vs. arrays, simple object construction times, floating point vs. integer arithmetic times, object variable vs. local variable access, etc. There are some wonderful micro-benchmark applets on the web with this functionality. What you'll learn is that up-casting takes forever, so any use of built-in collections/iterators for performance-critical operations will do you in.

I found the constant sales pitch for the Sun HotSpot (TM) Virtual Machine a bit tiring. It concludes with a recapitulation of the marketing materials in Appendix B. It is alternately described as "highly optimized", "state-of-the-art", having a "superior memory allocator", "ultra-fast", having "excellent multiprocessor performance characteristics", having "agressive inlining", having "excellent paging", etc. etc. The appendix devoted to HotSpot (TM) is particularly noteworty for its omission of any profiling information!

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
9 of 9 people found the following review helpful:
4.0 out of 5 stars Great start, straight to the point, March 5, 2001
By A Customer
Although this topic could be explored a lot deeper, this is a great book to get started on Java performance. I read it, cover to cover, in a few days on the bus, back and forth to work, and it's changed my approach to coding in Java.

The first part on strategies is fundamental and cover concepts on performance. This is a must for anybody who wants to get started on the topic.

The second part on tactics goes into details about spesific issues in Java, and because of the GUI / Swing background of the authors, it is mostly focused on topics related to that. If that's what you're working on, this is a 5 star book, but since Java is becoming more and more server focused technology, it's a little bit missing for people like myself who write Servlets and JSPs.

Hopefully, there'll soon be a book that discusses performance in J2EE.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
17 of 20 people found the following review helpful:
5.0 out of 5 stars Improve your Java by shedding its myths, August 25, 2000
By Vincent O'Sullivan (London, England.) - See all my reviews
(REAL NAME)   
There are a number of things everybody 'knows' about Java. Bad things such as "It's slow (but can be speeded up by calling native methods)" or good things such as "It doesn't leak memory". Unfortunately, like most things, the truth is more complicated.

Wilson and Kesselman have done an excellent job of getting under the bonnet (or hood for those in the US) of Java whilst firmly remaining practical rather than theoretical.

I bought the book because we suspected memory leakage problems in one of our applets but couldn't find much information on the subject elsewhere. The net result is that we've had our eyes opened to a number of issues we weren't aware of and have been able to tackle them with informed confidence rather than ill-educated guesswork.

A particular bonus is the information on benchmarking. So often we find we develop solutions on the basis of ease of coding rather than performance (not always bad thing). What I've found now is that I have greater confidence in both trying out different solutions and then concrete evidence with which I can justify my decisions to others.

Though not for beginners, I would reccommend this book as a good one for expanding your knowledge of how to deliver good, practical, faster and more robust Java. Being able to give sound background information on why you write a piece of code in a particular way is an important step on the way from being a developer to being a key developer.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars Saved me a couple of times
OK, so my initial impression of this book was similar to many others. It seemed thin and only provided a shallow treatment of the topic. Read more
Published on October 19, 2005 by Andreas Mross

3.0 out of 5 stars Buy it if you're a Swing developer
Although this is a nice-to-have book (for bookworms like us which isn't after all?), I wouldn't really recommend it as the book to buy for Java performance any more, other than... Read more
Published on September 14, 2003 by Panagiotis Varlagas

3.0 out of 5 stars Not very helpful for experienced java developers
I would definitely reccomend this book to someone who is not at all familiar with performance tactics in Java, but this book does not adds much to the much known... Read more
Published on January 29, 2003 by A. Pathak

2.0 out of 5 stars Very poor and shallow
It's a shame that Sun fellows can only come with so little material about Java performance.
Even JavaWorld articles contain more information about the subject. Read more
Published on September 1, 2002 by Goldin Evgeny

5.0 out of 5 stars Excellent
Well-written, very technical, and without the useless filler that you see so often in computer books.
Published on March 13, 2002 by Alexander Rosen

4.0 out of 5 stars Great Book but should have been more detailed
I would definitely reccomend this book to someone who is not at all familiar with performance tactics in Java, but this book does not adds much to the much known tactics found on... Read more
Published on March 2, 2001 by Abhishek Pathak

5.0 out of 5 stars Great for Java APPLICATION developers
For some reason Java has fragmented into two camps. Web, application server, EJB folks and Java application folks. Read more
Published on February 14, 2001 by Ed Tidwell

3.0 out of 5 stars How to Tune Swing
The focus of the book is on tuning single user GUI (Swing,AWT) applications and as such, offers some good insight on this subject. Read more
Published on September 29, 2000 by Kirk Pepperdine

2.0 out of 5 stars Leaves so much un-answered
I was really disappointed with this book. Its great for high level concepts but if you just want to know why to use StringBuffers rather than Strings for complex operations then... Read more
Published on September 6, 2000 by Peter Hawkins

2.0 out of 5 stars Leaves so much un-answered
I was really disappointed with this book. Its great for high level concepts but if you just want to know why to use StringBuffers rather than Strings for complex operations then... Read more
Published on September 6, 2000 by Peter Hawkins

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.