Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert back to previous musl version. #117

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Conversation

fniephaus
Copy link
Member

This PR reverts 21d4e64. Unfortunately, the musl-gcc wrapper does not support C++ which is needed to build static images with G1 GC and others. While we are working on a better solution, we are reverting back to the previous musl integration.

@fniephaus fniephaus self-assigned this Nov 13, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 13, 2024
@fniephaus fniephaus changed the title Fniephaus/revert musl change Revert back to previous musl version. Nov 13, 2024
Copy link

GraalVM Native Image Build Report

helloworld generated in 48.9s as part of the 'test-native-image-musl' job in run #428.

Environment

Java version 24+22 Vendor version GraalVM CE 24-dev+22.1
Graal compiler optimization level: 2, target machine: x86-64-v3
C compiler x86_64-linux-musl-gcc (linux, x86_64, 10.2.1)
Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3,341 70.160% 3,839 42.836% 15,619 44.131%
Reflection 1,034 21.714% 7 0.078% 140 0.396%
JNI 57 1.197% 58 0.647% 52 0.147%
Loaded 4,762 100.000% 8,962 100.000% 35,392 100.000%

Image Details

Category Size in % Details
Code area 5.25MB 37.967% 8,929 compilation units
Image heap 7.25MB 52.466% 95,329 objects, 154.36KB for 55 resources
Other data 1.32MB 9.567%
Total 13.82MB 100.000%

Resource Usage

Garbage collection 1.86s (3.815% of total time) in 497 GCs
Peak RSS 920.57MB (5.760% of 15.61GB system memory)
CPU load 3.642 (91.051% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

helloworld generated in 1m 11s as part of the 'test-native-image-windows-msvc' job in run #428.

Environment

Java version 17.0.12+8-LTS Vendor version Oracle GraalVM 17.0.12+8.1
Graal compiler optimization level: 2, target machine: x86-64-v3, PGO: ML-inferred
C compiler cl.exe (microsoft, x64, 19.41.34123)
Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 1,809 59.311% 1,684 45.587% 7,635 35.791%
Reflection 618 20.262% 0 0.000% 282 1.322%
JNI 53 1.738% 30 0.812% 48 0.225%
Loaded 3,050 100.000% 3,694 100.000% 21,332 100.000%

Image Details

Category Size in % Details
Code area 2.77MB 43.918% 3,464 compilation units
Image heap 3.45MB 54.709% 48,651 objects, 108.00B for 1 resources
Other data 88.67KB 1.373%
Total 6.30MB 100.000%

Resource Usage

Garbage collection 1.69s (2.356% of total time) in 140 GCs
Peak RSS 884.75MB (5.400% of 16.00GB system memory)
CPU load 2.316 (57.912% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

helloworld generated in 1m 22s as part of the 'test-native-image-windows' job in run #428.

Environment

Java version 24+22 Vendor version GraalVM CE 24-dev+22.1
Graal compiler optimization level: 2, target machine: x86-64-v3
C compiler cl.exe (microsoft, x64, 19.41.34123)
Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3,320 70.774% 3,838 42.998% 15,613 44.402%
Reflection 1,021 21.765% 7 0.078% 140 0.398%
JNI 61 1.300% 51 0.571% 52 0.148%
Loaded 4,691 100.000% 8,926 100.000% 35,163 100.000%

Image Details

Category Size in % Details
Code area 5.42MB 41.663% 8,952 compilation units
Image heap 7.25MB 55.686% 95,116 objects, 154.36KB for 55 resources
Other data 353.48KB 2.651%
Total 13.02MB 100.000%

Resource Usage

Garbage collection 2.22s (2.681% of total time) in 523 GCs
Peak RSS 940.02MB (5.738% of 16.00GB system memory)
CPU load 2.457 (61.431% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

helloworld generated in 52.1s as part of the 'test-extensive' job in run #428.

Environment

Java version 17.0.8+9-LTS Vendor version Oracle GraalVM 17.0.8+9.1
Graal compiler optimization level: 2, target machine: x86-64-v3, PGO: ML-inferred
C compiler gcc (linux, x86_64, 11.4.0)
Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 1,853 59.145% 1,737 46.369% 7,712 35.613%
Reflection 638 20.364% 0 0.000% 281 1.298%
JNI 49 1.564% 32 0.854% 48 0.222%
Loaded 3,133 100.000% 3,746 100.000% 21,655 100.000%

Image Details

Category Size in % Details
Code area 2.75MB 23.178% 3,484 compilation units
Image heap 3.46MB 29.170% 48,921 objects, 108.00B for 1 resources
Debug info 5.33MB 44.894%
Other data 335.43KB 2.758%
Total 11.88MB 100.000%

Resource Usage

Garbage collection 1.92s (3.678% of total time) in 134 GCs
Peak RSS 1.15GB (7.383% of 15.61GB system memory)
CPU load 3.296 (82.403% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

@shaunsmith shaunsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fniephaus fniephaus merged commit 4a200f2 into main Nov 13, 2024
194 checks passed
@fniephaus fniephaus deleted the fniephaus/revert-musl-change branch November 13, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants