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

Add Native Image Demo how to Create a Heap Dump from a Native Executable to GitHub Demos. #178

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

LesiaChaban
Copy link
Member

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 12, 2023
@LesiaChaban LesiaChaban changed the title Add Native Image Demo how to Create a Heap Dump from a Native Executable example to GitHub Demos. Add Native Image Demo how to Create a Heap Dump from a Native Executable to GitHub Demos. Jan 12, 2023
@github-actions
Copy link

GraalVM Native Image Build Report

svmheapdumpapi generated as part of the 'run' job in run #4.

Environment

GraalVM version GraalVM 23.0.0-dev Java 19.0.1+10-jvmci-23.0-b04 CE C compiler gcc (linux, x86_64, 11.3.0)
Java version 19.0.1+10-jvmci-23.0-b04 Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3748 76.490% 4557 51.294% 17439 47.210%
Reflection 156 3.184% 42 0.473% 674 1.825%
JNI 57 1.163% 56 0.630% 52 0.141%
Loaded 4900 100.000% 8884 100.000% 36939 100.000%

Image Details

Category Size in % Details
Code area 6.43MB 37.813% 10216 compilation units
Image heap 9.88MB 58.128% 152.82KB for 5 resources
Other data 706.46KB 4.059%
Total 17.00MB 100.000%

Resource Usage

Garbage collection 1.44s in 21 GCs
Peak RSS 2.57GB (37.838% of 6.78GB system memory)
CPU load 1.964 (98.220% of 2 CPU cores)

Report generated by setup-graalvm.

@github-actions
Copy link

GraalVM Native Image Build Report

svmheapdumpapi generated as part of the 'run' job in run #4.

Environment

GraalVM version GraalVM 22.3.0 Java 19 CE C compiler gcc (linux, x86_64, 11.3.0)
Java version 19.0.1+10-jvmci-22.3-b08 Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3683 76.954% 4509 51.239% 17138 46.942%
Reflection 156 3.260% 42 0.477% 675 1.849%
JNI 57 1.191% 56 0.636% 52 0.142%
Loaded 4786 100.000% 8800 100.000% 36509 100.000%

Image Details

Category Size in % Details
Code area 5.99MB 36.521% 10133 compilation units
Image heap 9.74MB 59.334% 152.82KB for 5 resources
Other data 696.71KB 4.145%
Total 16.41MB 100.000%

Resource Usage

Garbage collection 1.79s in 20 GCs
Peak RSS 2.51GB (37.022% of 6.78GB system memory)
CPU load 1.962 (98.120% of 2 CPU cores)

Report generated by setup-graalvm.

native-heapdump-example/README.md Outdated Show resolved Hide resolved
native-heapdump-example/README.md Outdated Show resolved Hide resolved
native-heapdump-example/README.md Outdated Show resolved Hide resolved
native-heapdump-example/README.md Outdated Show resolved Hide resolved
native-heapdump-example/README.md Outdated Show resolved Hide resolved
native-heapdump-example/README.md Outdated Show resolved Hide resolved
native-heapdump-example/README.md Outdated Show resolved Hide resolved
native-heapdump-example/README.md Outdated Show resolved Hide resolved
native-heapdump-example/README.md Outdated Show resolved Hide resolved
native-heapdump-example/README.md Outdated Show resolved Hide resolved
@github-actions
Copy link

GraalVM Native Image Build Report

svmheapdumpapi generated as part of the 'run' job in run #2.

Environment

GraalVM version GraalVM 22.3.0 Java 19 CE C compiler gcc (linux, x86_64, 11.3.0)
Java version 19.0.1+10-jvmci-22.3-b08 Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3683 76.954% 4509 51.239% 17138 46.946%
Reflection 156 3.260% 42 0.477% 675 1.849%
JNI 57 1.191% 56 0.636% 52 0.142%
Loaded 4786 100.000% 8800 100.000% 36506 100.000%

Image Details

Category Size in % Details
Code area 5.99MB 36.514% 10133 compilation units
Image heap 9.74MB 59.320% 152.82KB for 5 resources
Other data 700.27KB 4.166%
Total 16.42MB 100.000%

Resource Usage

Garbage collection 1.68s in 20 GCs
Peak RSS 2.52GB (37.155% of 6.78GB system memory)
CPU load 1.961 (98.063% of 2 CPU cores)

Report generated by setup-graalvm.

@github-actions
Copy link

GraalVM Native Image Build Report

svmheapdumpapi generated as part of the 'run' job in run #2.

Environment

GraalVM version GraalVM 23.0.0-dev Java 19.0.1+10-jvmci-23.0-b04 CE C compiler gcc (linux, x86_64, 11.3.0)
Java version 19.0.1+10-jvmci-23.0-b04 Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3748 76.490% 4557 51.294% 17439 47.208%
Reflection 156 3.184% 42 0.473% 674 1.825%
JNI 57 1.163% 56 0.630% 52 0.141%
Loaded 4900 100.000% 8884 100.000% 36941 100.000%

Image Details

Category Size in % Details
Code area 6.43MB 37.808% 10216 compilation units
Image heap 9.88MB 58.128% 152.82KB for 5 resources
Other data 707.29KB 4.064%
Total 17.00MB 100.000%

Resource Usage

Garbage collection 1.82s in 21 GCs
Peak RSS 2.53GB (37.239% of 6.78GB system memory)
CPU load 1.966 (98.321% of 2 CPU cores)

Report generated by setup-graalvm.

@github-actions
Copy link

GraalVM Native Image Build Report

svmheapdumpapi generated as part of the 'run' job in run #3.

Environment

GraalVM version GraalVM 22.3.0 Java 19 CE C compiler gcc (linux, x86_64, 11.3.0)
Java version 19.0.1+10-jvmci-22.3-b08 Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3683 76.954% 4509 51.239% 17138 46.942%
Reflection 156 3.260% 42 0.477% 675 1.849%
JNI 57 1.191% 56 0.636% 52 0.142%
Loaded 4786 100.000% 8800 100.000% 36509 100.000%

Image Details

Category Size in % Details
Code area 5.99MB 36.515% 10133 compilation units
Image heap 9.74MB 59.320% 152.82KB for 5 resources
Other data 700.23KB 4.165%
Total 16.42MB 100.000%

Resource Usage

Garbage collection 1.72s in 20 GCs
Peak RSS 2.51GB (37.079% of 6.78GB system memory)
CPU load 1.964 (98.203% of 2 CPU cores)

Report generated by setup-graalvm.

@github-actions
Copy link

GraalVM Native Image Build Report

svmheapdumpapi generated as part of the 'run' job in run #3.

Environment

GraalVM version GraalVM 23.0.0-dev Java 19.0.1+10-jvmci-23.0-b04 CE C compiler gcc (linux, x86_64, 11.3.0)
Java version 19.0.1+10-jvmci-23.0-b04 Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3748 76.490% 4557 51.294% 17439 47.208%
Reflection 156 3.184% 42 0.473% 674 1.825%
JNI 57 1.163% 56 0.630% 52 0.141%
Loaded 4900 100.000% 8884 100.000% 36941 100.000%

Image Details

Category Size in % Details
Code area 6.43MB 37.808% 10216 compilation units
Image heap 9.88MB 58.128% 152.82KB for 5 resources
Other data 707.41KB 4.065%
Total 17.00MB 100.000%

Resource Usage

Garbage collection 1.91s in 21 GCs
Peak RSS 2.54GB (37.430% of 6.78GB system memory)
CPU load 1.965 (98.266% of 2 CPU cores)

Report generated by setup-graalvm.

README.md Outdated Show resolved Hide resolved
native-heapdump-examples/README.md Outdated Show resolved Hide resolved
native-heapdump-examples/README.md Outdated Show resolved Hide resolved
native-heapdump-examples/README.md Outdated Show resolved Hide resolved
native-heapdump-examples/README.md Outdated Show resolved Hide resolved
native-heapdump-examples/README.md Show resolved Hide resolved
native-heapdump-examples/SVMHeapDump.java Outdated Show resolved Hide resolved
native-heapdump-examples/SVMHeapDumpAPI.java Outdated Show resolved Hide resolved
@github-actions
Copy link

GraalVM Native Image Build Report

svmheapdumpapi generated as part of the 'run' job in run #5.

Environment

GraalVM version GraalVM 23.0.0-dev Java 19.0.1+10-jvmci-23.0-b04 CE C compiler gcc (linux, x86_64, 11.3.0)
Java version 19.0.1+10-jvmci-23.0-b04 Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3748 76.490% 4557 51.294% 17439 47.209%
Reflection 156 3.184% 42 0.473% 674 1.825%
JNI 57 1.163% 56 0.630% 52 0.141%
Loaded 4900 100.000% 8884 100.000% 36940 100.000%

Image Details

Category Size in % Details
Code area 6.43MB 37.812% 10216 compilation units
Image heap 9.88MB 58.128% 152.82KB for 5 resources
Other data 706.73KB 4.061%
Total 17.00MB 100.000%

Resource Usage

Garbage collection 1.65s in 21 GCs
Peak RSS 2.56GB (37.796% of 6.78GB system memory)
CPU load 1.964 (98.213% of 2 CPU cores)

Report generated by setup-graalvm.

@github-actions
Copy link

GraalVM Native Image Build Report

svmheapdumpapi generated as part of the 'run' job in run #5.

Environment

GraalVM version GraalVM 22.3.0 Java 19 CE C compiler gcc (linux, x86_64, 11.3.0)
Java version 19.0.1+10-jvmci-22.3-b08 Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3683 76.954% 4509 51.239% 17138 46.946%
Reflection 156 3.260% 42 0.477% 675 1.849%
JNI 57 1.191% 56 0.636% 52 0.142%
Loaded 4786 100.000% 8800 100.000% 36506 100.000%

Image Details

Category Size in % Details
Code area 5.99MB 36.515% 10133 compilation units
Image heap 9.74MB 59.320% 152.82KB for 5 resources
Other data 700.26KB 4.166%
Total 16.42MB 100.000%

Resource Usage

Garbage collection 1.33s in 20 GCs
Peak RSS 2.51GB (36.996% of 6.78GB system memory)
CPU load 1.971 (98.563% of 2 CPU cores)

Report generated by setup-graalvm.

@LesiaChaban LesiaChaban merged commit 32eb773 into master Jan 19, 2023
@LesiaChaban LesiaChaban deleted the ni-heapdump branch January 19, 2023 10:41
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.

2 participants