2 ms·
It's not impossible. HotSpot/OpenJDK already has one. It's a native method/compiler intrinsic rather than a keyword but amounts to the same thing: http://www.d
by mike_hearn 9y ago
It's not impossible. HotSpot/OpenJDK already has one. It's a native method/compiler intrinsic rather than a keyword but amounts to the same thing:
http://www.docjar.com/docs/api/sun/misc/Unsafe.html#freeMemory(long) http://www.docjar.com/docs/api/sun/misc/Unsafe.html#freeMemo...
- mstoodle 9y agoThat frees a block of native memory, not an arbitrary Java object...