Skip to content

Conversation

JaroslavTulach
Copy link
Contributor

Wouldn't it be great if Heap dump data could be processed in memory, without the need to create anything on disk? Then it would be possible to analyze heap dumps in restricted environments, where access to disk is restricted. This PR is my attempt to provide such functionality.

Looks like the HprofMappedByteBuffer needs the mmapped file only when constructing itself. Then it can operate over regular ByteBuffer. Looks like the system is ready to work without the cache directory when CacheDirectory.cacheDirectory is null.

Adding one new API factory method that takes ByteBuffer instead of the File. Subclassing HeapTest and running the same tests in memory only mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants