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

jme3-alloc-examples: added basic tech-demos #24

Merged
merged 5 commits into from
Feb 2, 2023
Merged

Conversation

pavly-gerges
Copy link
Member

This PR adds the following tech-demos:

  • TestNativeBufferUtils: tests the basic api functionalities (allocation/deallocation) on a single main thread.
  • TestDirtyMultithreading: tests the api functionalities on 20 java.nio.ByteBuffer across 3 threads, an allocation thread, an initialization thread and a de-allocation/destroy thread.
  • TestJvmCrashlogs: tests the jvm monitor crash; when trying to write to a previously destroyed buffer.
  • TestMemoryCopy: tests copying memory from a buffer to another (deep copy).
  • TestMemorySet: tests initializing the buffer memory with zero and erasing the buffer for subsequent read/write operations if needed or in case the buffer carries sensitive data (as user-credentials).

@pavly-gerges pavly-gerges added enhancement New feature or request techdemos Related to jme3-testalloc labels Feb 2, 2023
@pavly-gerges pavly-gerges linked an issue Feb 2, 2023 that may be closed by this pull request
@pavly-gerges pavly-gerges merged commit 61a54ac into master Feb 2, 2023
@pavly-gerges pavly-gerges deleted the modular-examples branch February 2, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request techdemos Related to jme3-testalloc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[jme3-alloc-examples] Consider adding a demo app
1 participant