MemorySessionContext外部何时可以存在MemorySessionData对象?

时间:2011-05-26 15:46:30

标签: websphere websphere-6.1

我正在查看来自IBM WebSpehere 6.1的可移植heapdump文件,并了解MemorySessionContext包含代表每个用户的HttpSession的所有MemorySessionData对象的SessionSimpleHashMap。我的问题是,为什么我在MemorySessionContext“容器”之外的堆中看到MemorySessionData对象?

1 个答案:

答案 0 :(得分:0)

长话短说,“松散的”MSD对象有一个GC根路径到Portal对象,所以我暂时假设这些是Portal会话;或者它们正处于被释放的过程中,因为它们可能被容器取消引用然后松散...我没有检查所有路径到GC根。