• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Build
  4. Native library optimization level research

Native library optimization level research

  • Created by Magnus Ihse Bursie, last modified by Matthias Baesken on Mar 07, 2025

This page will discuss all our native JDK libraries (except Hotspot) with regard to optimization levels, both what is currently used, and material for discussing a change.


Current C/C++ JDK native libraries, default (bold) and other optimization levels and the size of the libs on various platforms ; info is from JDK25

Optimizing levels marked with * have special settings e.g. regarding compiler version/debug level

TODOs:  check LIBMANAGEMENT special optimization settings, are they still needed ?



LibraryO-level

Linux ppc64le

gcc 13.2.0 (SAP)

Linux x86_64

gcc 13.2.0 (SAP)

Linux aarch64

gcc 13.2.0 (SAP)

Macos aarch64

XCode 15.4 (SAP)

Macos x86_64

XCode 15.4 (SAP)

AIX ppc64

XLC 17.1.2 (SAP)

Windows x86_64

VS2022 17.6.5 (SAP)




LIBNETLOW84K64K84K100K76K440K52K




HIGHEST148K64K84K116K76K444K56K




SIZE88K56K84K100K72K412K52K



LIBNIOHIGH164K108K160K128K96K704K76K




HIGHEST164K108K160K128K96K704K84K




SIZE168K96K160K132K92K684K76K



LIBOSXSECURITYLOW


80K52K






HIGHEST


80K52K






SIZE


80K52K





LIBJSIGLOW76K16K76K76K40K28K





HIGHEST76K16K76K76K40K28K





SIZE76K16K76K76K40K28K




LIBVERIFYHIGH*80K68K76K108K76K292K48K




HIGHEST80K68K76K108K76K292K56K




SIZE80K68K76K92K68K224K48K



LIBZIPLOW80K48K80K164K60K472K76K




HIGHEST80K44K80K164K60K480K84K




SIZE80K44K80K148K60K376K76K



LIBJAVAHIGH252K172K236K188K160K1.5M108K




HIGHEST252K172K236K188K160K1.5M124K




SIZE256K160K172K188K152K1.5M108K



LIBJIMAGELOW228K156K164K80K56K192K28K




HIGHEST228K160K164K80K56K192K32K




SIZE228K156K164K80K52K172K28K



LIBJLIHIGH152K76K84K152K92K
80K




HIGHEST152K76K84K152K92K
88K




SIZE92K64K84K136K88K
80K



LIBJSOUNDLOW164K84K92K140K108K
56K




HIGHEST164K152K156K136K108K
76K




SIZE168K76K92K124K88K
56K



LIBOSXAPPLOW


192K164K






HIGHEST


192K164K






SIZE


192K160K





LIBOSXLOW


80K48K






HIGHEST


80K48K






SIZE


80K48K





LIBAWTHIGHEST1.1M876K812K528K620K5.1M1.4M




SIZE688K624K620K464K500K4.4M1.3M



LIBAWT_HEADLESSLOW80K48K80K

284K





HIGHEST80K48K80K

284K





SIZE84K44K80K

284K




LIBAWT_XAWTLOW756K540K616K

3.0M





HIGHEST756K556K612K

3.0M





SIZE632K480K552K

2.8M




LIBAWT_LWAWTLOW


1.2M1.2M






HIGHEST


1.2M1.2M






SIZE


1.2M1.2M





LIBJAWTLOW72K8K76K56K32K20K12K




HIGHEST72K8K76K56K32K20K12K




SIZE72K8K76K56K32K20K12K



LIBSPLASHSCREENSIZE376K300K368K404K316K1.5M208K




HIGHEST628K464K432K500K424K1.9M248K



LIBOSXUILOW


104K68K






HIGHEST


100K68K






SIZE


104K64K





LIBINSTRUMENTLOW80K56K80K96K72K552K48K




HIGHEST80K60K80K112K72K556K52K




SIZE84K52K80K96K72K512K48K



LIBMANAGEMENTHIGH*80K32K80K80K48K232K20K




HIGHEST80K32K80K80K48K232K20K




SIZE80K32K80K80K48K232K20K



LIBPREFSHIGH76K12K76K80K48K32K16K




HIGHEST76K12K76K80K48K32K16K




SIZE76K8K76K80K48K32K16K



LIBRMILOW72K8K76K72K36K20K12K




HIGHEST72K8K76K72K36K20K12K




SIZE72K8K76K72K36K20K12K



LIBJ2GSSLOW80K56K80K96K72K184K48K




HIGHEST80K56K80K96K72K184K48K




SIZE84K52K80K96K68K176K48K



LIBSSPI_BRIDGELOW





40K




HIGHEST





44K




SIZE





40K



LIBW2K_LSA_AUTHLOW





28K




HIGHEST





28K




SIZE





28K



LIBOSXKRB5LOW


80K52K






HIGHEST


76K52K






SIZE


80K52K





LIBJ2PCSCLOW76K20K76K76K44K92K16K




HIGHEST76K20K76K76K44K92K16K




SIZE76K20K76K76K44K80K16K



LIBJAVAACCESSBRIDGELOW





296K




HIGHEST





304K




SIZE





296K



LIBATTACHLOW76K16K76K76K44K44K20K




HIGHEST76K16K76K76K44K44K20K




SIZE76K16K76K76K40K44K20K



LIBJ2PKCS11LOW148K100K152K132K108K700K76K




HIGHEST148K100K148K132K108K704K84K




SIZE152K88K148K132K100K684K76K



LIBSUNMSCAPILOW





44K




HIGHEST





44K




SIZE





44K



LIBDT_SHMEMLOW





32K




HIGHEST





36K




SIZE





32K



LIBDT_SOCKETLOW80K32K80K76K52K128K32K




HIGHEST80K36K80K76K52K128K36K




SIZE80K32K80K76K48K112K32K



LIBJDWP LOW428K304K364K312K280K1.9M228K




HIGHEST428K316K364K308K288K1.9M260K




SIZE368K268K300K296K260K1.8M228K



LIBJPACKAGEAPPLAUNCHERAUXLOW











HIGHEST











SIZE










LIBJPACKAGELOW





128K




HIGHEST





140K




SIZE





128K



LIBWIXHELPERLOW











HIGHEST











SIZE










LIBMANAGEMENT_AGENTLOW72K8K76K72K36K28K16K




HIGHEST72K8K76K72K36K28K16K




SIZE76K8K76K72K36K28K16K



LIBMANAGEMENT_EXTHIGH*80K40K80K80K52K224K32K




HIGHEST80K40K80K80K52K224K32K




SIZE80K40K80K80K52K220K32K



LIBEXTNETLOW76K16K76K76K40K48K16K




HIGHEST76K20K76K76K40K48K16K




SIZE76K16K76K76K40K44K16K



LIBSCTPLOW80K32K80K








HIGHEST80K36K80K








SIZE80K32K80K







LIBJAASLOW76K8K76K72K36K32K20K




HIGHEST76K12K76K72K36K32K20K




SIZE76K8K76K72K36K32K20K



Overview
Content Tools
ThemeBuilder
  • No labels

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 321, "requestCorrelationId": "1493e3ce065485d9"}