Page MenuHomeSolus

Packaging and build updates for openjdk-11
ClosedPublic

Authored by serebit on Wed, Sep 8, 5:07 AM.

Details

Summary

Packaging Changes:

  • Compile with clang (reduces package size by 143 MB)
  • Include optional ZGC garbage collector
  • Enable base hotspot test suite
  • If $HOME is unavailable, use the current directory for user prefs (avoids errors within solbuild)
  • Don't echo the value of _JAVA_OPTIONS to console if it's set in the environment

These changes drop the main openjdk-11 package size from 396.6 MB to 253.6 MB.

Test Plan

Unit tests passed; built gradle, maven, ant, kotlin, freeplane, projectlibre, dbeaver, scala; ran dbeaver

Diff Detail

Repository
R4992 openjdk-11
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

serebit created this revision.Wed, Sep 8, 5:07 AM
serebit requested review of this revision.Wed, Sep 8, 5:07 AM
joebonrichie added a subscriber: joebonrichie.

Maybe mention the package size difference as a percentage or give raw numbers.

algent added a subscriber: algent.EditedWed, Sep 8, 10:51 AM

@serebit. You are splitting a new package here so you have to fix the component of openjdk-11-src.

serebit edited the summary of this revision. (Show Details)Wed, Sep 8, 3:47 PM
serebit updated this revision to Diff 28734.Wed, Sep 8, 4:23 PM

Use programming.java component for openjdk-11-src

algent removed a subscriber: algent.Wed, Sep 8, 4:50 PM
serebit updated this revision to Diff 28743.Thu, Sep 9, 1:51 PM

Merge openjdk-11-src back into openjdk-11

serebit edited the summary of this revision. (Show Details)Thu, Sep 9, 2:00 PM
serebit updated this revision to Diff 28744.Thu, Sep 9, 2:10 PM

Fix description

JoshStrobl accepted this revision.Wed, Sep 15, 4:23 PM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Wed, Sep 15, 4:23 PM
This revision was automatically updated to reflect the committed changes.