They will still be in memory, but they no longer refer to the HttpSession . That is, they are no longer available to HttpSession .
Once the garbage collector starts up and these objects have no other references by other classes / instances, they will eventually be destroyed and freed.
Balusc
source share