• Post Reply Bookmark Topic Watch Topic
  • New Topic

Object once deleted from Heap , can they be recovered?  RSS feed

 
Ranch Hand
Posts: 1078
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Object once deleted from Heap, can they be recovered??? If yes how come???

 
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no way in Java to do it, but with enough knowledge of the JVM implementation, you could possibly recover some objects from native code. The same could be said of most languages with dynamic memory -- erasing all the bits of a deallocated block is expensive and generally only done in some debug builds.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!