- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
OpenJDK at Enterprise
李三红
微博:sanhong_li
Agenda
₱ The history of OpenJDK
The difference from OracleJDK
₱ Adoption of OpenJDK
Infrastructure support
RAS support
Contribute to community
₱ Practical performance tuning
Memory basics
GC
JIT
Tuning for OS
OpenJDK history
Anatomy of OpenJDK
₱ Reference implementation of Java SE
₱ Free and open source, build your own Java
₱ OpenJDK = JDK + JVM
• JDK: Java class library + native library
• JVM: Hotspot
• Platform: X86, PowerPC, ARM, SPARC
Different from Oracle JDK
₱ Oracle JDK built from OpenJDK source code, no major technical
difference between them.
• IBM JDK did the similar thing, but replaced HotSpot with J9.
₱ But Oracle JDK includes:
• Java plug-in
• Java WebStart
• JavaFX runtime
• VisualVM monitoring tool
• Additional (desktop) fonts and icons
• Other third party components
Major Linux distributions such as Ubuntu, Fedora and Red Hat Enterprise Linux
offer a OpenJDK as their default Java SE implementation.
Adoption of OpenJDK
₱ Infrastructure support
• Code repository management
• OpenJDK sources are maintained with Mercurial
• Continuous Integration
• Example: Adopt OpenJDK CI site
₱ Quality insurance
• Your own unit test
• JTReg test cases
• TCK
• FVT
• SVT
TCK and conformance
₱ TCK (JCK) is specialized to test conformance with the
Java platform specification:
• conformance deviations
• find bugs
₱ Not open source, available under OpenJDK
Community TCK License Agreement
RAS support
₱ j * tools shipped with OpenJDK are enough in
your production environment?
₱ If not, please consider:
• Post-mortem diagnostics enhancement
• Heap dump, Thread dump, GC Logs
• Management and monitoring
• JMX-based, ability to do in-
原创力文档


文档评论(0)