Java Performance. In-Depth Advice for Tuning and Programming Java 8, 11, and Beyond. 2nd Edition
- Autor:
- Scott Oaks
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 450
- Dostępne formaty:
-
ePubMobi
Opis ebooka: Java Performance. In-Depth Advice for Tuning and Programming Java 8, 11, and Beyond. 2nd Edition
Coding and testing are generally considered separate areas of expertise. In this practical book, Java expert Scott Oaks takes the approach that anyone who works with Java should be adept at understanding how code behaves in the Java Virtual Machine—including the tunings likely to help performance. This updated second edition helps you gain in-depth knowledge of Java application performance using both the JVM and the Java platform.
Developers and performance engineers alike will learn a variety of features, tools, and processes for improving the way the Java 8 and 11 LTS releases perform. While the emphasis is on production-supported releases and features, this book also features previews of exciting new technologies such as ahead-of-time compilation and experimental garbage collections.
- Understand how various Java platforms and compilers affect performance
- Learn how Java garbage collection works
- Apply four principles to obtain best results from performance testing
- Use the JDK and other tools to learn how a Java application is performing
- Minimize the garbage collector’s impact through tuning and programming practices
- Tackle performance issues in Java APIs
- Improve Java-driven database application performance
Wybrane bestsellery
-
W tej książce opisano wiele funkcjonalności, narzędzi i procedur, dzięki którym można poprawić efektywność kodu napisanego w Javie 8 i 11 LTS. Główny nacisk położono na zagadnienia istotne dla środowisk produkcyjnych, ale przedstawiono również ciekawe nowe technologie, takie jak kompilacja z wypr...
Wydajność Javy. Szczegółowe porady dotyczące programowania i strojenia aplikacji w Javie. Wydanie II Wydajność Javy. Szczegółowe porady dotyczące programowania i strojenia aplikacji w Javie. Wydanie II
(29.90 zł najniższa cena z 30 dni)39.50 zł
79.00 zł(-50%) -
Threads are essential to Java programming, but learning to use them effectively is a nontrivial task. This new edition of the classic Java Threads shows you how to take full advantage of Java's threading facilities and brings you up-to-date with the watershed changes in Java 2 Standard Edition ve...(118.15 zł najniższa cena z 30 dni)
118.15 zł
139.00 zł(-15%) -
One of Java's most striking claims is that it provides a secure programming environment. Yet despite endless discussion, few people understand precisely what Java's claims mean and how it backs up those claims. If you're a developer, network administrator or anyone else who must understand or wor...(160.65 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
To dziewiąte wydanie znakomitego podręcznika programowania dla początkujących, starannie zaktualizowane i uzupełnione o informacje dotyczące Java Platform, Standard Edition 17. Książka rozpoczyna się od solidnej dawki wiedzy o kompilacji i uruchamianiu programu w Javie, słowach kluczowych i istot...(77.40 zł najniższa cena z 30 dni)
83.85 zł
129.00 zł(-35%) -
Dzięki tej książce zrozumiesz bazowe koncepcje programowania funkcyjnego i przekonasz się, że możesz włączać je do kodu bez rezygnacji z paradygmatu obiektowego. Dowiesz się również, kiedy w swojej codziennej pracy używać takich opcji jak niemutowalność i funkcje czyste i dlaczego warto to robić....
Java. Podejście funkcyjne. Rozszerzanie obiektowego kodu Javy o zasady programowania funkcyjnego Java. Podejście funkcyjne. Rozszerzanie obiektowego kodu Javy o zasady programowania funkcyjnego
(52.20 zł najniższa cena z 30 dni)56.55 zł
87.00 zł(-35%) -
Java. Podręcznik na start to pozycja idealna dla każdego, kto chce podjąć takie kroki. W przystępny sposób zaznajamia nie tylko z językiem, ale też z podstawowymi koncepcjami stosowanymi podczas programowania - w obrazowy sposób przyrównuje je do sytuacji znanych spoza świata wirtualnego. Autor n...(41.40 zł najniższa cena z 30 dni)
44.85 zł
69.00 zł(-35%) -
Build Your Own Programming Language provides a hands-on approach to designing and implementing programming language features in a simple compiler and programming environment. This book will help you create new or domain-specific languages.
Build Your Own Programming Language. A developer's comprehensive guide to crafting, compiling, and implementing programming languages - Second Edition Build Your Own Programming Language. A developer's comprehensive guide to crafting, compiling, and implementing programming languages - Second Edition
-
Java należy do najpopularniejszych języków programowania na świecie. Używana przez miliony programistów, jest na tyle uniwersalna, że znajduje zastosowanie zarówno w aplikacjach desktopowych, mobilnych, jak i serwerowych, a także w zaawansowanych systemach zarządzania bazami danych. Z jej zalet k...
Java 21. Kurs video. Od "Hello World!" do programowania obiektowego Java 21. Kurs video. Od "Hello World!" do programowania obiektowego
(39.60 zł najniższa cena z 30 dni)54.45 zł
99.00 zł(-45%) -
Oto kolejne wydanie zwięzłego podręcznika dla programistów Javy, który ma ułatwić maksymalne wykorzystanie technologii tego języka w wersji 17. Treść została skrupulatnie przejrzana i uzupełniona o materiał dotyczący nowości w obiektowym modelu Javy. Pierwsza część książki obejmuje wprowadzenie d...(53.40 zł najniższa cena z 30 dni)
57.84 zł
89.00 zł(-35%) -
Kariera zawodowa programisty jest związana z nieustanną nauką i doskonaleniem zdobytych umiejętności. Jednym z podstawowych etapów rozwoju programisty Java jest zaznajomienie się z dobrymi praktykami programistycznymi, co obejmuje także wzorce projektowe – i to im właśnie poświęcony jest te...
Wzorce projektowe w Javie. Kurs video. Programowanie efektywnych rozwiązań Wzorce projektowe w Javie. Kurs video. Programowanie efektywnych rozwiązań
(39.90 zł najniższa cena z 30 dni)81.95 zł
149.00 zł(-45%)
O autorze ebooka
Scott Oaks jest architektem w Oracle Corporation. Zajmuje się wydajnością chmury Oracle i oprogramowaniem platformy. Wcześniej przez wiele lat pracował w Sun Microsystems ? specjalizował się w takich dziedzinach jak programowanie sieci, technologia RPC czy oprogramowanie OPEN LOOK Virtual Window Manager. W 2001 roku dołączył do Java Performance Group, w której działa aktywnie do dziś. Jest autorem wielu książek dla programistów.
Kup polskie wydanie:
Wydajność Javy. Szczegółowe porady dotyczące programowania i strojenia aplikacji w Javie. Wydanie II
- Autor:
- Scott Oaks
39,50 zł
79,00 zł
(29.90 zł najniższa cena z 30 dni)
Ebooka "Java Performance. In-Depth Advice for Tuning and Programming Java 8, 11, and Beyond. 2nd Edition" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "Java Performance. In-Depth Advice for Tuning and Programming Java 8, 11, and Beyond. 2nd Edition" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "Java Performance. In-Depth Advice for Tuning and Programming Java 8, 11, and Beyond. 2nd Edition" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-14-920-5606-5, 9781492056065
- Data wydania ebooka:
- 2020-02-11 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 5.6MB
- Rozmiar pliku Mobi:
- 13.9MB
Spis treści ebooka
- Preface
- Who Should (and Shouldnt) Read This Book
- Whats New in the Second Edition
- Conventions Used in This Book
- Using Code Examples
- OReilly Online Learning
- How to Contact Us
- Acknowledgments
- 1. Introduction
- A Brief Outline
- Platforms and Conventions
- Java Platforms
- JVM tuning flags
- Java Platforms
- Hardware Platforms
- Multicore hardware
- Software containers
- The Complete Performance Story
- Write Better Algorithms
- Write Less Code
- Oh, Go Ahead, Prematurely Optimize
- Look Elsewhere: The Database Is Always the Bottleneck
- Optimize for the Common Case
- Summary
- 2. An Approach to Performance Testing
- Test a Real Application
- Microbenchmarks
- Microbenchmarks must use their results
- Microbenchmarks must test a range of input
- Microbenchmarks must measure the correct input
- Microbenchmark code may behave differently in production
- Microbenchmarks
- Macrobenchmarks
- Mesobenchmarks
- Test a Real Application
- Understand Throughput, Batching, and Response Time
- Elapsed Time (Batch) Measurements
- Throughput Measurements
- Response-Time Tests
- Understand Variability
- Test Early, Test Often
- Benchmark Examples
- Java Microbenchmark Harness
- JMH and parameters
- Comparing tests
- Setup code
- Controlling execution and repeatability
- Java Microbenchmark Harness
- Common Code Examples
- Summary
- 3. A Java Performance Toolbox
- Operating System Tools and Analysis
- CPU Usage
- Java and single-CPU usage
- Java and multi-CPU usage
- CPU Usage
- The CPU Run Queue
- Disk Usage
- Network Usage
- Operating System Tools and Analysis
- Java Monitoring Tools
- Basic VM Information
- Working with tuning flags
- Basic VM Information
- Thread Information
- Class Information
- Live GC Analysis
- Heap Dump Postprocessing
- Profiling Tools
- Sampling Profilers
- Instrumented Profilers
- Blocking Methods and Thread Timelines
- Native Profilers
- Java Flight Recorder
- Java Mission Control
- JFR Overview
- JFR Memory view
- JFR Code view
- Overview of JFR events
- Enabling JFR
- Enabling JFR via Java Mission Control
- Enabling JFR via the command line
- Selecting JFR Events
- Summary
- 4. Working with the JIT Compiler
- Just-in-Time Compilers: An Overview
- HotSpot Compilation
- Just-in-Time Compilers: An Overview
- Tiered Compilation
- Common Compiler Flags
- Tuning the Code Cache
- Inspecting the Compilation Process
- Tiered Compilation Levels
- Deoptimization
- Not entrant code
- Deoptimizing zombie code
- Advanced Compiler Flags
- Compilation Thresholds
- Compilation Threads
- Inlining
- Escape Analysis
- CPU-Specific Code
- Tiered Compilation Trade-offs
- The GraalVM
- Precompilation
- Ahead-of-Time Compilation
- GraalVM Native Compilation
- Summary
- 5. An Introduction to Garbage Collection
- Garbage Collection Overview
- Generational Garbage Collectors
- GC Algorithms
- The serial garbage collector
- The throughput collector
- The G1 GC collector
- The CMS collector
- Experimental collectors
- Choosing a GC Algorithm
- When to use (and not use) the serial collector
- Single hyper-threaded CPU hardware
- When to use (and not use) the serial collector
- When to use the throughput collector
- Garbage Collection Overview
- Basic GC Tuning
- Sizing the Heap
- Sizing the Generations
- Adaptive sizing
- Sizing Metaspace
- Controlling Parallelism
- GC Tools
- Enabling GC Logging in JDK 8
- Enabling GC Logging in JDK 11
- Summary
- 6. Garbage Collection Algorithms
- Understanding the Throughput Collector
- Adaptive and Static Heap Size Tuning
- Understanding the Throughput Collector
- Understanding the G1 Garbage Collector
- Tuning G1 GC
- Tuning the G1 background threads
- Tuning G1 GC to run more (or less) frequently
- Tuning G1 GC mixed GC cycles
- Tuning G1 GC
- Understanding the CMS Collector
- Tuning to Solve Concurrent Mode Failures
- Running the background thread more often
- Adjusting the CMS background threads
- Tuning to Solve Concurrent Mode Failures
- Advanced Tunings
- Tenuring and Survivor Spaces
- Allocating Large Objects
- Thread-local allocation buffers
- Sizing TLABs
- Humongous objects
- G1 GC region sizes
- G1 GC allocation of humongous objects
- AggressiveHeap
- Full Control Over Heap Size
- Experimental GC Algorithms
- Concurrent Compaction: ZGC and Shenandoah
- Latency effects of concurrent compaction
- Throughput effects of concurrent compacting collectors
- Concurrent Compaction: ZGC and Shenandoah
- No Collection: Epsilon GC
- Summary
- 7. Heap Memory Best Practices
- Heap Analysis
- Heap Histograms
- Heap Dumps
- Out-of-Memory Errors
- Out of native memory
- Out of metaspace memory
- Out-of-heap memory
- GC overhead limit reached
- Heap Analysis
- Using Less Memory
- Reducing Object Size
- Using Lazy Initialization
- Eager deinitialization
- Using Immutable and Canonical Objects
- Creating canonical objects
- Object Life-Cycle Management
- Object Reuse
- Object pools
- Thread-local variables
- Object Reuse
- Soft, Weak, and Other References
- Soft references
- Weak references
- Finalizers and final references
- Cleaner objects
- Compressed Oops
- Summary
- 8. Native Memory Best Practices
- Footprint
- Measuring Footprint
- Minimizing Footprint
- Native Memory Tracking
- NMT over time
- Shared Library Native Memory
- Native memory and inflaters/deflaters
- Native NIO buffers
- Footprint
- JVM Tunings for the Operating System
- Large Pages
- Linux huge (large) pages
- Linux transparent huge pages
- Windows large pages
- Large Pages
- Summary
- 9. Threading and Synchronization Performance
- Threading and Hardware
- Thread Pools and ThreadPoolExecutors
- Setting the Maximum Number of Threads
- Setting the Minimum Number of Threads
- Thread Pool Task Sizes
- Sizing a ThreadPoolExecutor
- The ForkJoinPool
- Work Stealing
- Automatic Parallelization
- Thread Synchronization
- Costs of Synchronization
- Synchronization and scalability
- Costs of locking objects
- Costs of Synchronization
- Avoiding Synchronization
- False Sharing
- JVM Thread Tunings
- Tuning Thread Stack Sizes
- Biased Locking
- Thread Priorities
- Monitoring Threads and Locks
- Thread Visibility
- Blocked Thread Visibility
- Blocked threads and JFR
- Blocked threads and JStack
- Summary
- 10. Java Servers
- Java NIO Overview
- Server Containers
- Tuning Server Thread Pools
- Async Rest Servers
- Asynchronous Outbound Calls
- Asynchronous HTTP
- Async HTTP clients
- Async HTTP clients and thread usage
- Asynchronous database calls
- Asynchronous HTTP
- JSON Processing
- An Overview of Parsing and Marshaling
- JSON Objects
- JSON Parsing
- Summary
- 11. Database Performance Best Practices
- Sample Database
- JDBC
- JDBC Drivers
- Where work is performed
- The JDBC driver type
- JDBC Drivers
- JDBC Connection Pools
- Prepared Statements and Statement Pooling
- Setting up the statement pool
- Managing statement pools
- Transactions
- JDBC transaction control
- Transaction isolation and locking
- Result Set Processing
- JPA
- Optimizing JPA Writes
- Optimizing JPA Reads
- Reading less data
- Using JOIN in queries
- Batching and queries
- JPA Caching
- Default caching (lazy loading)
- Caching and eager loading
- Join fetch and caching
- Avoiding queries
- Sizing the JPA cache
- Spring Data
- Summary
- 12. Java SE API Tips
- Strings
- Compact Strings
- Duplicate Strings and String Interning
- String deduplication
- String interning
- Custom string interning
- String Concatenation
- Strings
- Buffered I/O
- Classloading
- Class Data Sharing
- Class data sharing benefits
- Class Data Sharing
- Random Numbers
- Java Native Interface
- Exceptions
- Logging
- Java Collections API
- Synchronized Versus Unsynchronized
- Collection Sizing
- Collections and Memory Efficiency
- Lambdas and Anonymous Classes
- Stream and Filter Performance
- Lazy Traversal
- Object Serialization
- Transient Fields
- Overriding Default Serialization
- Compressing Serialized Data
- Keeping Track of Duplicate Objects
- Summary
- A. Summary of Tuning Flags
- Index
O'Reilly Media - inne książki
-
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(186.15 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(160.65 zł najniższa cena z 30 dni)
177.65 zł
209.00 zł(-15%) -
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical gu...(143.65 zł najniższa cena z 30 dni)
152.15 zł
179.00 zł(-15%) -
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded prog...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, an...(92.65 zł najniższa cena z 30 dni)
101.15 zł
119.00 zł(-15%) -
Gain the valuable skills and techniques you need to accelerate the delivery of machine learning solutions. With this practical guide, data scientists, ML engineers, and their leaders will learn how to bridge the gap between data science and Lean product delivery in a practical and simple way. Dav...(245.65 zł najniższa cena z 30 dni)
254.15 zł
299.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
When it comes to building user interfaces on the web, React enables web developers to unlock a new world of possibilities. This practical book helps you take a deep dive into fundamental concepts of this JavaScript library, including JSX syntax and advanced patterns, the virtual DOM, React reconc...(194.65 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: Java Performance. In-Depth Advice for Tuning and Programming Java 8, 11, and Beyond. 2nd Edition Scott Oaks (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.