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

Fix GraalVM for JDK 17+ detection in MSVC feature. #89

Merged
merged 2 commits into from
Mar 12, 2024
Merged

Fix GraalVM for JDK 17+ detection in MSVC feature. #89

merged 2 commits into from
Mar 12, 2024

Conversation

fniephaus
Copy link
Member

Closes #88

@fniephaus fniephaus self-assigned this Mar 12, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 12, 2024
Copy link

GraalVM Native Image Build Report

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

Environment

Java version 23+12 Vendor version GraalVM CE 23-dev+12.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,300 72.052% 3,823 43.552% 15,287 44.274%
Reflection 1,044 22.795% 66 0.752% 466 1.350%
JNI 57 1.245% 57 0.649% 52 0.151%
Loaded 4,580 100.000% 8,778 100.000% 34,528 100.000%

Image Details

Category Size in % Details
Code area 5.22MB 38.054% 8,696 compilation units
Image heap 7.96MB 57.959% 103,294 objects, 154.40KB for 56 resources
Other data 560.42KB 3.987%
Total 13.73MB 100.000%

Resource Usage

Garbage collection 3.19s (6.975% of total time) in 207 GCs
Peak RSS 909.81MB (5.693% of 15.61GB system memory)
CPU load 3.678 (91.940% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

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

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.240% 3,442 compilation units
Image heap 3.45MB 54.439% 48,413 objects, 108.00B for 1 resources
Other data 85.73KB 1.321%
Total 6.34MB 100.000%

Resource Usage

Garbage collection 1.68s (2.142% of total time) in 142 GCs
Peak RSS 849.67MB (5.186% of 16.00GB system memory)
CPU load 2.022 (50.549% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

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

Environment

Java version 23+12 Vendor version GraalVM CE 23-dev+12.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,262 72.537% 3,785 43.446% 15,210 44.498%
Reflection 1,025 22.793% 58 0.666% 466 1.363%
JNI 61 1.356% 51 0.585% 52 0.152%
Loaded 4,497 100.000% 8,712 100.000% 34,181 100.000%

Image Details

Category Size in % Details
Code area 5.36MB 41.232% 8,675 compilation units
Image heap 7.46MB 57.444% 90,906 objects, 154.40KB for 56 resources
Other data 176.07KB 1.324%
Total 12.99MB 100.000%

Resource Usage

Garbage collection 3.72s (5.142% of total time) in 152 GCs
Peak RSS 915.23MB (5.586% of 16.00GB system memory)
CPU load 2.746 (68.652% 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-extensive' job in run #345.

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.180% 3,484 compilation units
Image heap 3.46MB 29.166% 48,936 objects, 108.00B for 1 resources
Debug info 5.33MB 44.902%
Other data 334.75KB 2.752%
Total 11.88MB 100.000%

Resource Usage

Garbage collection 1.70s (3.777% of total time) in 204 GCs
Peak RSS 1.00GB (6.416% of 15.61GB system memory)
CPU load 3.570 (89.251% of 4 CPU cores)

Report generated by setup-graalvm.

@fniephaus fniephaus merged commit d3f9e14 into main Mar 12, 2024
209 checks passed
@fniephaus fniephaus deleted the dev branch March 12, 2024 16:01
@fniephaus fniephaus restored the dev branch March 12, 2024 16:02
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.

1.1.8 not updating the Windows environment variables
1 participant