4 ms·
So what you are saying is that JVM copying surviving object between generational pools might expose secrets in memory? A very good point, thank you. What coul
by java-man 7y ago
So what you are saying is that JVM copying surviving object between generational pools might expose secrets in memory?
A very good point, thank you.
What could be done to mitigate this? Direct ByteBuffer per
https://stackoverflow.com/questions/5670862/bytebuffer-allocate-vs-bytebuffer-allocatedirect https://stackoverflow.com/questions/5670862/bytebuffer-alloc...
?
- MarkSweep 7y agoIn .NET you can pin memory in the GC heap, either using something like the fixed expression in C# or GCHandle. A quick Googleing did not turn up something usable directly by Java, except ByteBuffer.