更新时间:2021-08-06 19:13:12
coverpage
OpenJDK Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Conventions
Reader feedback
Customer support
Chapter 1. Getting Started with OpenJDK
Introduction
Distinguishing OpenJDK from Oracle JDK
Installing OpenJDK on Windows
Configuring OpenJDK on Windows
Installing OpenJDK on Linux
Configuring OpenJDK on Linux
Navigating through OpenJDK groups and projects
Chapter 2. Building OpenJDK 6
Preparing CA certificates
Building OpenJDK 6 on Ubuntu Linux 12.04 LTS
Setting up the minimum build environment for the most compatible Linux builds
Installing Cygwin for Windows builds
Building 32-bit FreeType libraries for OpenJDK 6 on Windows
Building 64-bit FreeType libraries for OpenJDK 6 on Windows
Building 32-bit OpenJDK 6 on Windows 7 SP1
Building 64-bit OpenJDK 6 on Windows 7 x64 SP1
Chapter 3. Building OpenJDK 7
Building OpenJDK 7 on Ubuntu Linux 12.04 LTS
Building OpenJDK 7 on Mac OS X
Building 32-bit FreeType libraries for OpenJDK 7 on Windows
Building 64-bit FreeType libraries for OpenJDK 7 on Windows
Building 32-bit OpenJDK 7 on Windows 7 SP1
Building 64-bit OpenJDK 7 on Windows 7 x64 SP1
Preparing a standalone toolchain for 32- and 64-bit Windows' builds
Chapter 4. Building OpenJDK 8
Working with GNU Autoconf
Building OpenJDK 8 Ubuntu Linux 12.04 LTS
Using ccache to speed up the OpenJDK 8 build process
Building OpenJDK 8 on Mac OS X
Building OpenJDK 8 on Windows 7 SP1
Chapter 5. Building IcedTea
Building IcedTea 6
Building IcedTea 7
Building OpenJDK 7 with IcedTea patches
Building IcedTea 7 with the NSS security provider
Building IcedTea 6 with the SystemTap support
Chapter 6. Building IcedTea with Other VM Implementations
Configuring cross-compilation between ARM and x86
Building IcedTea for ARM with integrated CACAO VM
Porting JamVM to use OpenJDK
Configuring Zero-assembler with the Shark compiler to use OpenJDK
Building for MIPS and other architectures using OpenEmbedded recipes
Chapter 7. Working with WebStart and the Browser Plugin
Building the IcedTea browser plugin on Linux
Using the IcedTea Java WebStart implementation on Linux
Preparing the IcedTea Java WebStart implementation for Mac OS X
Preparing the IcedTea Java WebStart implementation for Windows
Chapter 8. Hacking OpenJDK
Setting up the development environment with NetBeans
Working with Mercurial forest
Understanding OpenJDK 6 and 7 incremental builds
Debugging Java code using NetBeans
Debugging C++ code using NetBeans
Using NetBeans to compile HotSpot
Using HotSpot dev parameters
Adding new intrinsic to HotSpot
Building VisualVM from the source code
Creating a plugin for VisualVM
Getting benefits from the AdoptOpenJDK project
Chapter 9. Testing OpenJDK
Running tests using the downloaded or the built version of jtreg
Building jtreg from the source
Running the standard set of OpenJDK tests
Writing your own test for jtreg
Using jtreg in GUI mode
Writing TestNG tests for jtreg
Compiling JT Harness from the source code
Building and running jcstress
Writing tests for jcstress
Creating a benchmark project using JMH
Downloading the source and compiling JHM
Chapter 10. Contributing to OpenJDK
Becoming a contributor
Generating a patch with webrev
Backporting OpenJDK v9 patches to OpenJDK v8