Skip to main content

Peter Lawrey: When Using Direct Memory in Java Can be Faster

When Using Direct Memory in Java Can be Faster: Using direct memory is no guarantee of improving performance. Given it adds complexity, it should be avoided unless you have a compelling reason to use it. Where direct memory and memory mapped files can help is when you have a large amounts of data and/or you have to perform some IO with that data. Time series data [is] a good candidate for...

Community: General