Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mike_hearn
· 9y ago · 0 comments
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#freeMemo...
Comments
[–]
mstoodle
9y ago
That frees a block of native memory, not an arbitrary Java object...