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

[Continue-Scaling-Plan] Testing jSnapLoader #21

Closed
2 tasks done
pavly-gerges opened this issue Jul 26, 2024 · 5 comments · Fixed by #25
Closed
2 tasks done

[Continue-Scaling-Plan] Testing jSnapLoader #21

pavly-gerges opened this issue Jul 26, 2024 · 5 comments · Fixed by #25
Labels
examples Stressful testing the functionalities help wanted Extra attention is needed

Comments

@pavly-gerges
Copy link
Member

pavly-gerges commented Jul 26, 2024

Testing:

  • Evaluation for memory leaks.
  • Re-evaluation of the library on the non-common platforms (Linux-arm).
@pavly-gerges pavly-gerges added help wanted Extra attention is needed examples Stressful testing the functionalities labels Jul 26, 2024
@pavly-gerges pavly-gerges pinned this issue Jul 26, 2024
@stephengold
Copy link

Linux-arm testing progress:

  1. The new v0.4.1 release of the jolt-jni library includes native libraries for arm-linux (32-bit) and aarch64-linux (64-bit) platforms.
  2. The snap-jolt project builds on aarch64-linux. Each build runs the "HelloWorld.java" app, which extracts and loads a jolt-jni native library using jSnapLoader v1.0.0-delta. So I am confident jSnapLoader works on aarch64-linux.

Testing on arm-linux is proving difficult because my Raspberry Pi 400's "libstdc++.so" is a bit too old for jolt-jni.

@pavly-gerges
Copy link
Member Author

pavly-gerges commented Jul 31, 2024

Testing on arm-linux is proving difficult because my Raspberry Pi 400's "libstdc++.so" is a bit too old for jolt-jni.

Have you tried updating the G++ Toolchains? Yeah, compare versions and try to update the g++. I see a new issue on Jolt-Physics regarding Linux-arm, but yeah, let me know how it goes.

@pavly-gerges
Copy link
Member Author

Linux-arm testing progress:

  1. The new v0.4.1 release of the jolt-jni library includes native libraries for arm-linux (32-bit) and aarch64-linux (64-bit) platforms.
  2. The snap-jolt project builds on aarch64-linux. Each build runs the "HelloWorld.java" app, which extracts and loads a jolt-jni native library using jSnapLoader v1.0.0-delta. So I am confident jSnapLoader works on aarch64-linux.

Thanks for your comprehensive testing. I believe we can proceed for a stable release.

@pavly-gerges
Copy link
Member Author

pavly-gerges commented Jul 31, 2024

I first need to prepare an Android test example, that will not take much time hopefully.
EDIT:
Okay, never mind, there is another issue for this.

@pavly-gerges
Copy link
Member Author

First round for evaluation for memory leaks has been completed using jconsole, GNOME System Monitor, and JUL (Java Util Logger) API. The new PR concludes some maneuvers to handle potential memory leaks resulting from the unclosure of resource streams especially when failure events are dispatched, namely file localization failures, and file extraction failures.

@pavly-gerges pavly-gerges unpinned this issue Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Stressful testing the functionalities help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants