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

Improve and document support for Oracle GraalVM EA builds. #85

Merged
merged 7 commits into from
Feb 22, 2024

Conversation

fniephaus
Copy link
Member

@fniephaus fniephaus commented Feb 22, 2024

This also implements a couple of minor improvements such as for #32 and #81.

This ensures that `latest-ea` and `22-ea` can be cached based on the actual version number (e.g., `22.0.0`).
@fniephaus fniephaus self-assigned this Feb 22, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 22, 2024
Copy link

GraalVM Native Image Build Report

helloworld generated in 54.6s as part of the 'test-native-image-windows-msvc' job in run #324.

Environment

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

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 1,809 59.234% 1,678 45.635% 7,614 35.750%
Reflection 616 20.170% 0 0.000% 282 1.324%
JNI 53 1.735% 30 0.816% 48 0.225%
Loaded 3,054 100.000% 3,677 100.000% 21,298 100.000%

Image Details

Category Size in % Details
Code area 2.80MB 44.252% 3,442 compilation units
Image heap 3.45MB 54.439% 48,414 objects, 108.00B for 1 resources
Other data 84.94KB 1.309%
Total 6.34MB 100.000%

Resource Usage

Garbage collection 1.64s (3.004% of total time) in 121 GCs
Peak RSS 965.29MB (5.892% of 16.00GB system memory)
CPU load 3.053 (76.334% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

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

Environment

Java version 23+9 Vendor version GraalVM CE 23-dev+9.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,174 71.230% 3,662 43.204% 14,707 43.567%
Reflection 1,022 22.935% 66 0.779% 526 1.558%
JNI 57 1.279% 57 0.672% 52 0.154%
Loaded 4,456 100.000% 8,476 100.000% 33,757 100.000%

Image Details

Category Size in % Details
Code area 4.85MB 37.915% 8,291 compilation units
Image heap 7.37MB 57.636% 101,038 objects, 154.40KB for 47 resources
Other data 582.71KB 4.449%
Total 12.79MB 100.000%

Resource Usage

Garbage collection 3.17s (6.870% of total time) in 206 GCs
Peak RSS 888.02MB (5.557% of 15.61GB system memory)
CPU load 3.632 (90.789% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

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

Environment

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

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3,136 71.778% 3,624 43.092% 14,632 43.873%
Reflection 1,003 22.957% 58 0.690% 526 1.577%
JNI 61 1.396% 51 0.606% 52 0.156%
Loaded 4,369 100.000% 8,410 100.000% 33,351 100.000%

Image Details

Category Size in % Details
Code area 4.98MB 39.752% 8,271 compilation units
Image heap 7.37MB 58.900% 88,568 objects, 154.40KB for 47 resources
Other data 172.86KB 1.348%
Total 12.52MB 100.000%

Resource Usage

Garbage collection 3.43s (5.705% of total time) in 171 GCs
Peak RSS 917.59MB (5.601% of 16.00GB system memory)
CPU load 3.021 (75.517% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

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

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.615%
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,654 100.000%

Image Details

Category Size in % Details
Code area 2.75MB 23.176% 3,484 compilation units
Image heap 3.46MB 29.168% 48,935 objects, 108.00B for 1 resources
Debug info 5.33MB 44.897%
Other data 335.47KB 2.758%
Total 11.88MB 100.000%

Resource Usage

Garbage collection 1.86s (4.048% of total time) in 133 GCs
Peak RSS 1.14GB (7.310% of 15.61GB system memory)
CPU load 3.587 (89.669% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

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

Environment

Java version 23+9 Vendor version GraalVM CE 23-dev+9.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,174 71.230% 3,662 43.204% 14,707 43.565%
Reflection 1,022 22.935% 66 0.779% 526 1.558%
JNI 57 1.279% 57 0.672% 52 0.154%
Loaded 4,456 100.000% 8,476 100.000% 33,759 100.000%

Image Details

Category Size in % Details
Code area 4.85MB 37.915% 8,291 compilation units
Image heap 7.37MB 57.640% 101,031 objects, 154.40KB for 47 resources
Other data 582.24KB 4.446%
Total 12.79MB 100.000%

Resource Usage

Garbage collection 3.05s (6.783% of total time) in 228 GCs
Peak RSS 891.50MB (5.578% of 15.61GB system memory)
CPU load 3.653 (91.321% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

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

Environment

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

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3,136 71.778% 3,624 43.092% 14,632 43.873%
Reflection 1,003 22.957% 58 0.690% 526 1.577%
JNI 61 1.396% 51 0.606% 52 0.156%
Loaded 4,369 100.000% 8,410 100.000% 33,351 100.000%

Image Details

Category Size in % Details
Code area 4.98MB 39.752% 8,271 compilation units
Image heap 7.37MB 58.893% 88,568 objects, 154.40KB for 47 resources
Other data 173.73KB 1.355%
Total 12.52MB 100.000%

Resource Usage

Garbage collection 3.58s (5.893% of total time) in 193 GCs
Peak RSS 882.31MB (5.385% of 16.00GB system memory)
CPU load 3.167 (79.184% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

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

Environment

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

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 1,809 59.234% 1,678 45.635% 7,614 35.753%
Reflection 616 20.170% 0 0.000% 282 1.324%
JNI 53 1.735% 30 0.816% 48 0.225%
Loaded 3,054 100.000% 3,677 100.000% 21,296 100.000%

Image Details

Category Size in % Details
Code area 2.80MB 44.263% 3,442 compilation units
Image heap 3.45MB 54.439% 48,409 objects, 108.00B for 1 resources
Other data 84.23KB 1.298%
Total 6.34MB 100.000%

Resource Usage

Garbage collection 1.78s (2.593% of total time) in 126 GCs
Peak RSS 948.23MB (5.788% of 16.00GB system memory)
CPU load 2.492 (62.306% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

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

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.615%
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,654 100.000%

Image Details

Category Size in % Details
Code area 2.75MB 23.183% 3,484 compilation units
Image heap 3.46MB 29.166% 48,945 objects, 108.00B for 1 resources
Debug info 5.33MB 44.902%
Other data 334.46KB 2.749%
Total 11.88MB 100.000%

Resource Usage

Garbage collection 1.89s (3.902% of total time) in 135 GCs
Peak RSS 1.15GB (7.342% of 15.61GB system memory)
CPU load 3.618 (90.462% of 4 CPU cores)

Report generated by setup-graalvm.

@fniephaus fniephaus changed the title Use new Oracle GraalVM EA builds repo. Improve and document support for Oracle GraalVM EA builds. Feb 22, 2024
Copy link

GraalVM Native Image Build Report

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

Environment

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

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 1,809 59.234% 1,678 45.635% 7,614 35.750%
Reflection 616 20.170% 0 0.000% 282 1.324%
JNI 53 1.735% 30 0.816% 48 0.225%
Loaded 3,054 100.000% 3,677 100.000% 21,298 100.000%

Image Details

Category Size in % Details
Code area 2.80MB 44.238% 3,442 compilation units
Image heap 3.45MB 54.439% 48,423 objects, 108.00B for 1 resources
Other data 85.84KB 1.323%
Total 6.34MB 100.000%

Resource Usage

Garbage collection 1.61s (2.232% of total time) in 125 GCs
Peak RSS 977.52MB (5.966% of 16.00GB system memory)
CPU load 2.252 (56.289% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

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

Environment

Java version 23+9 Vendor version GraalVM CE 23-dev+9.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,174 71.230% 3,662 43.204% 14,707 43.567%
Reflection 1,022 22.935% 66 0.779% 526 1.558%
JNI 57 1.279% 57 0.672% 52 0.154%
Loaded 4,456 100.000% 8,476 100.000% 33,757 100.000%

Image Details

Category Size in % Details
Code area 4.85MB 37.915% 8,291 compilation units
Image heap 7.37MB 57.643% 101,020 objects, 154.40KB for 47 resources
Other data 581.86KB 4.443%
Total 12.79MB 100.000%

Resource Usage

Garbage collection 3.08s (6.856% of total time) in 277 GCs
Peak RSS 822.68MB (5.148% of 15.61GB system memory)
CPU load 3.659 (91.464% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

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

Environment

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

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3,136 71.713% 3,624 43.092% 14,632 43.799%
Reflection 1,003 22.936% 58 0.690% 526 1.575%
JNI 61 1.395% 51 0.606% 52 0.156%
Loaded 4,373 100.000% 8,410 100.000% 33,407 100.000%

Image Details

Category Size in % Details
Code area 4.98MB 39.752% 8,271 compilation units
Image heap 7.37MB 58.895% 88,568 objects, 154.40KB for 47 resources
Other data 173.51KB 1.353%
Total 12.52MB 100.000%

Resource Usage

Garbage collection 3.45s (4.727% of total time) in 165 GCs
Peak RSS 939.97MB (5.737% of 16.00GB system memory)
CPU load 2.508 (62.709% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

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

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.615%
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,654 100.000%

Image Details

Category Size in % Details
Code area 2.75MB 23.181% 3,484 compilation units
Image heap 3.46MB 29.166% 48,941 objects, 108.00B for 1 resources
Debug info 5.33MB 44.902%
Other data 334.76KB 2.752%
Total 11.88MB 100.000%

Resource Usage

Garbage collection 2.06s (4.468% of total time) in 245 GCs
Peak RSS 1.03GB (6.612% of 15.61GB system memory)
CPU load 3.589 (89.731% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link
Member

@ezzarghili ezzarghili left a comment

Choose a reason for hiding this comment

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

LGTM, thanks !

@fniephaus fniephaus merged commit e878075 into main Feb 22, 2024
136 checks passed
@fniephaus fniephaus deleted the fniephaus/ea-builds branch February 22, 2024 12:17
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