SlideShare a Scribd company logo
Nikolas Ischenko
Java Embedded: why 8 not 11?
(one comma was missed)
April 26, 2019
backend
JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)
JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)
Raspberry PI
● Quard core 64-bit processor clocked at 1.4GHz
● 1GB LPDDR2 SRAM
● Dual-band 2.4GHz and 5GHz wireless LAN
● Bluetooth 4.2 / BLE
● Higher speed ethernet up to 300Mbps
● Power-over-Ethernet capability (via a separate
PoE HAT)
JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)
Raspberry OS
Raspberry OS
Raspberry+debian
+
Java 7
Java 8
Java 9
?
JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)
JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)
Liberica
SIZE
jrecreate --profile … --vm …
profile:
• compact1
• compact2
• compact3
vm:
• minimal
• client
• server
• all
jdeps -P yourApp.jar
Java8
jrecreate
--profile compact1
--vm minimal
Java8
jlink
--add-modules java.base
--vm minimal
--compress=2
17.5
Java11
JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)
jlink --add-modules java.base
--compress=2
0 10 20 30 40
all
server
client
minimal
--vm
Java11
jdeps --recursive --dot-output dots
tomatosKiller.jar
dot --Tpng --O dots/summary.dot
tomatosKillerPi
java.base
(java.base)
java.net.http
(java.net.http)
Graphvi
z
STARTUP TIME
By class name JVM:
● Looks the class up in a JAR
● Loads it
● Verifies byte code
● Pulls it into an internal data structure
Application Class Data Sharing
–
Xshare:aut
o
java –Xshare:dump
$JAVA_HOME/lib/server/classes.jsa
java -jar –Xshare:on tomatosKiller.jar
sudo perf stat –e cpu-clock –r100 
CDS
0 50 100 150 200
with CDS
without CDS
CDS
116ms < 160ms
MONEY
Oracle Price
Oracle Price
Oracle Price
RASPBERRY PI
300$ * 0.002 * 1 * 1.19 =
0.714$
RASPBERRY PI 3B+
300$ * 0.0075 * 4 * 1.19 =
10.71$
ACTION TIME
Feel free to write me ;)
https://github.com/NikIschenko/tomatosKillerBackend
https://github.com/NikIschenko/tomatosKillerClient
https://www.linkedin.com/in/nikolai-ischenko-1b921aa
JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)
JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)

More Related Content

PPTX
Cumulus Linux 2.5.3
PDF
Cumulus Linux 2.5.4
PPTX
Recent Developments in Donard
PPTX
Introduction to nexux from zero to Hero
PDF
Automação do físico ao NetSecDevOps
PDF
OSインストーラーの自作方法
PPTX
Continuous Deployment with Cassandra
PDF
Open Networking for Your OpenStack
Cumulus Linux 2.5.3
Cumulus Linux 2.5.4
Recent Developments in Donard
Introduction to nexux from zero to Hero
Automação do físico ao NetSecDevOps
OSインストーラーの自作方法
Continuous Deployment with Cassandra
Open Networking for Your OpenStack

What's hot (19)

PPTX
Factory setup wsa_9.2_v1.0
PPTX
Power of Open SDN- The Vendor Neutral Approach to Optimizing Your Network 09...
PDF
XPDS13: Enabling Fast, Dynamic Network Processing with ClickOS - Joao Martins...
PDF
Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...
PDF
XPDDS17: Shared Virtual Memory Virtualization Implementation on Xen - Yi Liu,...
PDF
Foreman - Advanced use cases - Timo Goebel
PPTX
Morphology of Modern Data Center Networks - YaC 2013
PDF
Percona University - ProxySQL para MySQL
PDF
SaltConf14 - Matthew Williams, Flowroute - Salt Virt for Linux contatiners an...
PDF
SaltConf14 - Ryan Lane, Wikimedia - Immediate consistency with Trebuchet Depl...
PPTX
DB Floripa - ProxySQL para MySQL
PDF
Installation of pfSense on Soekris 6501
ODP
Foreman in your datacenter
PDF
ACRN vMeet-Up EU 2021 - Boot Process and Secure Boot
PPTX
DEVNET-1191 BGP Enabled Application Development
PDF
XPDS16: libvirt and Tools: What's New and What's Next - James Fehlig, SUSE
PDF
在Oel5上安装配置oracle gird control 10.2.0.5
PPTX
Demystifying Networking Webinar Series- Routing on the Host
Factory setup wsa_9.2_v1.0
Power of Open SDN- The Vendor Neutral Approach to Optimizing Your Network 09...
XPDS13: Enabling Fast, Dynamic Network Processing with ClickOS - Joao Martins...
Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...
XPDDS17: Shared Virtual Memory Virtualization Implementation on Xen - Yi Liu,...
Foreman - Advanced use cases - Timo Goebel
Morphology of Modern Data Center Networks - YaC 2013
Percona University - ProxySQL para MySQL
SaltConf14 - Matthew Williams, Flowroute - Salt Virt for Linux contatiners an...
SaltConf14 - Ryan Lane, Wikimedia - Immediate consistency with Trebuchet Depl...
DB Floripa - ProxySQL para MySQL
Installation of pfSense on Soekris 6501
Foreman in your datacenter
ACRN vMeet-Up EU 2021 - Boot Process and Secure Boot
DEVNET-1191 BGP Enabled Application Development
XPDS16: libvirt and Tools: What's New and What's Next - James Fehlig, SUSE
在Oel5上安装配置oracle gird control 10.2.0.5
Demystifying Networking Webinar Series- Routing on the Host
Ad

Similar to JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed) (20)

PDF
CAPI and OpenCAPI Hardware acceleration enablement
PDF
Approaching hyperconvergedopenstack
PDF
3 Steps to Hyperconvergence
PDF
Practice and challenges from building IaaS
PDF
在Aix6.1上安装11g r2 rac grid infrastructure集群
PDF
XS Boston 2008 Network Topology
PDF
Spark 2.x Troubleshooting Guide
 
PPTX
Virtualization & Network Connectivity
PPTX
Java 9 new features
PDF
In-Network Acceleration with FPGA (MEMO)
PDF
Five cool ways the JVM can run Apache Spark faster
PDF
Spectre meltdown performance_tests - v0.3
PDF
Apache Arrow-Based Unified Data Sharing and Transferring Format Among CPU and...
PPTX
TDS-16489U - Dual Processor
PDF
Experiences with Oracle SPARC S7-2 Server
PDF
ODSA Use Case - SmartNIC
PDF
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)
PDF
Spark Jupyterlab Final GSE Presentation 2024
PDF
[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene
PDF
Known basic of NFV Features
CAPI and OpenCAPI Hardware acceleration enablement
Approaching hyperconvergedopenstack
3 Steps to Hyperconvergence
Practice and challenges from building IaaS
在Aix6.1上安装11g r2 rac grid infrastructure集群
XS Boston 2008 Network Topology
Spark 2.x Troubleshooting Guide
 
Virtualization & Network Connectivity
Java 9 new features
In-Network Acceleration with FPGA (MEMO)
Five cool ways the JVM can run Apache Spark faster
Spectre meltdown performance_tests - v0.3
Apache Arrow-Based Unified Data Sharing and Transferring Format Among CPU and...
TDS-16489U - Dual Processor
Experiences with Oracle SPARC S7-2 Server
ODSA Use Case - SmartNIC
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)
Spark Jupyterlab Final GSE Presentation 2024
[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene
Known basic of NFV Features
Ad

Recently uploaded (20)

PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PPTX
The various Industrial Revolutions .pptx
PPTX
Chapter 5: Probability Theory and Statistics
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
project resource management chapter-09.pdf
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
August Patch Tuesday
PDF
Hybrid model detection and classification of lung cancer
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPT
What is a Computer? Input Devices /output devices
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Getting Started with Data Integration: FME Form 101
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
The various Industrial Revolutions .pptx
Chapter 5: Probability Theory and Statistics
A comparative study of natural language inference in Swahili using monolingua...
project resource management chapter-09.pdf
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Zenith AI: Advanced Artificial Intelligence
August Patch Tuesday
Hybrid model detection and classification of lung cancer
WOOl fibre morphology and structure.pdf for textiles
observCloud-Native Containerability and monitoring.pptx
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Enhancing emotion recognition model for a student engagement use case through...
What is a Computer? Input Devices /output devices
Module 1.ppt Iot fundamentals and Architecture
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
1 - Historical Antecedents, Social Consideration.pdf
DP Operators-handbook-extract for the Mautical Institute
Getting Started with Data Integration: FME Form 101

JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)

Editor's Notes

  • #2: Я к вам приехал из страны, где усы всё ещё популярны! (|:{
  • #6: Показать рассказать о Raspberry PI Zero W
  • #8: http://www.armlinux.ru/%D0%BE%D0%BF%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D1%8B%D0%B5-%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D1%8B-%D0%B4%D0%BB%D1%8F-raspberry-pi/
  • #9: http://www.armlinux.ru/%D0%BE%D0%BF%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D1%8B%D0%B5-%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D1%8B-%D0%B4%D0%BB%D1%8F-raspberry-pi/
  • #18: Compact1 – самая малая по размеру сборка Jrecreate – это часть Embedded JDK Jdeps появился не в java 9 а он был еще с 8 версии
  • #25: Что происходит когда класс грузится по имени при старте: Ищется физическое расположение класса в архиве Класс грузится в память Где верифицируется его байт код И перекладывается после верификации во внутренние структуры данных JVM И все хорошо, когда у вас сотня классов, а когда их у вас тысячи тысяч?
  • #27: Лучше включать класс дата шэринг опционально с параметров auto, чтобы если шейрид аркайв не был найден, то аплик не валился.
  • #28: TODO: поменять запуск на java11 без указания модуля из инкубатора
  • #30: Александр Белокрылов из компании Bell-soft любит пугать тем, что джава от Oracle стоит 300 долларов. Так ли это? Да, у оракла написала ставка в 300 долларов за джава ембеддед
  • #31: Александр Белокрылов из компании Bell-soft любит пугать тем, что джава от Oracle стоит 300 долларов. Так ли это? Да, у оракла написала ставка в 300 долларов за джава ембеддед
  • #32: Александр Белокрылов из компании Bell-soft любит пугать тем, что джава от Oracle стоит 300 долларов. Так ли это? Да, у оракла написала ставка в 300 долларов за джава ембеддед
  • #34: Александр Белокрылов из компании Bell-soft любит пугать тем, что джава от Oracle стоит 300 долларов. Так ли это? Да, у оракла написала ставка в 300 долларов за джава ембеддед