Microsoft Word - Java Performance Tuning -- O'Reilly.doc
معرفی کتاب «Microsoft Word - Java Performance Tuning -- O'Reilly.doc» نوشتهٔ Jack Shirazi، منتشرشده توسط نشر O'Reilly Media در سال 2000. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «Microsoft Word - Java Performance Tuning -- O'Reilly.doc» در دستهٔ بدون دستهبندی قرار دارد.
No matter what language they're programming in, developers always wish things would run faster! Especially when writing mission-critical applications, no one wants to be limited by the programming environment.__Java Performance Tuning__ provides all the details you need to know to ''performance tune'' any type of Java program and make Java code run significantly faster.__Java Performance Tuning__ contains step-by-step instructions on all aspects of the performance tuning process, right from such early considerations as setting goals, measuring performance, and choosing a compiler. Extensive examples for tuning many parts of an application are described in detail, and any pitfalls are identified. The book also provides performance tuning checklists that enable developers to make their tuning as comprehensive as possible.__Java Performance Tuning__ is a book to help you ''roll up your sleeves'' and examine your code in detail in order to apply different tuning techniques to produce the best possible result.The book shows you how to: * Create and plan a tuning strategy * Avoid performance penalties from inefficient code * Minimize the number of objects a program creates * Improve the behavior of loops and switches * Use threads effectively Why Is It Slow? 2 -- Tuning Game 3 -- System Limitations And What To Tune 3 -- A Tuning Strategy 5 -- Perceived Performance 6 -- Starting To Tune 10 -- What To Measure 15 -- Don't Tune What You Don't Need To Tune 17 -- 2. Profiling Tools 20 -- Measurements And Timings 21 -- Garbage Collection 23 -- Method Calls 26 -- Object-creation Profiling 43 -- Monitoring Gross Memory Usage 50 -- Client/server Communications 56 -- 3. Underlying Jdk Improvements 64 -- Garbage Collection 64 -- Replacing Jdk Classes 66 -- Faster Vms 68 -- Better Optimizing Compilers 73 -- Sun's Compiler And Runtime Optimizations 82 -- Compile To Native Machine Code 89 -- Native Method Calls 90 -- Uncompressed Zip/jar Files 91 -- 4. Object Creation 94 -- Object-creation Statistics 96 -- Object Reuse 97 -- Avoiding Garbage Collection 112 -- Initialization 115 -- Early And Late Initialization 117 -- 5. Strings 122 -- Performance Effects Of Strings 122 -- Compile-time Versus Runtime Resolution Of Strings 125 -- Conversions To Strings 126 -- Strings Versus Char Arrays 142 -- String Comparisons And Searches 150 -- Sorting Internationalized Strings 153 -- 6. Exceptions, Casts, And Variables 161 -- Exceptions 161 -- Casts 167 -- Variables 169 -- Method Parameters 172 -- 7. Loops And Switches 174 -- Java.io. Reader Converter 178 -- Exception-terminated Loops 184 -- Switches 189 -- Recursion 195 -- Recursion And Stacks 200 -- 8. I/o, Logging, And Console Output 204 -- Replacing System.out 206 -- Logging 208 -- From Raw I/o To Smokin' I/o 209 -- Serialization 217 -- Clustering Objects And Counting I/o Operations 230 -- Compression 232 -- 9. Sorting 237 -- Avoiding Unnecessary Sorting Overhead 237 -- An Efficient Sorting Framework 241 -- Better Than O(nlogn) Sorting 249 -- Performance Checklist 255 -- 10. Threading 256 -- User-interface Thread And Other Threads 258 -- Race Conditions 259 -- Deadlocks 261 -- Synchronization Overheads 265 -- Timing Multithreaded Tests 275 -- Atomic Access And Assignment 276 -- Thread Pools 278 -- Load Balancing 279 -- Threaded Problem-solving Strategies 291 -- 11. Appropriate Data Structures And Algorithms 293 -- Collections 294 -- Java 2 Collections 296 -- Hashtables And Hashmaps 298 -- Cached Access 302 -- Caching Example I 303 -- Caching Example Ii 306 -- Finding The Index For Partially Matched Strings 310 -- Search Trees 314 -- 12. Distributed Computing 335 -- Tools 337 -- Message Reduction 339 -- Comparing Communication Layers 342 -- Caching 344 -- Batching I 346 -- Application Partitioning 347 -- Batching Ii 348 -- Low-level Communication Optimizations 349 -- Distributed Garbage Collection 354 -- Databases 355 -- 13. When To Optimize 357 -- When Not To Optimize 358 -- Tuning Class Libraries And Beans 359 -- Analysis 362 -- Design And Architecture 366 -- Tuning After Deployment 382 -- More Factors That Affect Performance 383 -- 14. Underlying Operating System And Network Improvements 389 -- Hard Disks 390 -- Cpu 395 -- Ram 397 -- Network I/o 398. Jack Shirazi. Includes Bibliographical References (pages 405-408) And Index. No matter what language they're programming in, developers always wish things would run faster! Especially when writing mission-critical applications, no one wants to be limited by the programming environment. Java Performance Tuning provides all the details you need to know to "performance tune" any type of Java program and make Java code run significantly faster. Java Performance Tuning contains step-by-step instructions on all aspects of the performance tuning process, right from such early considerations as setting goals, measuring performance, and choosing a compiler. There are extensive, detailed examples for tuning many parts of an application, and likely pitfalls are identified. The book also provides performance tuning checklists that enable developers to make their tuning as comprehensive as possible. "Java Performance Tuning" provides the details developers need to know to performance tune any type of Java program and make Java code run significantly faster. Presents step-by-step instructions on all aspects of the tuning process, with extensive, detailed examples and performance tuning checklists.
دانلود کتاب Microsoft Word - Java Performance Tuning -- O'Reilly.doc