Details
-
Bug
-
Resolution: Fixed
-
P2
-
hs25
-
b11
-
Not verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8004528 | 8 | Stefan Karlsson | P2 | Closed | Fixed | b67 |
Description
In virtual calls the Method pointer in the interpreter stack frame is not kept alive by anything other than the "this" pointers to that method. If bytecodes overwrite the "this" pointer, then call a full GC, the class loader containing the Method* can be unloaded and the Method* deallocated.
This is also a problem with JSR292 MethodHandle static code because the MethodHandle containing the mirror for the interpreted method Method* is not on the stack if a GC occurs.
Attachments
Issue Links
- backported by
-
JDK-8004528 NPG: Method in interpreter stack frame can be deallocated
- Closed
- blocks
-
JDK-8000662 NPG: nashorn ant clean test262 out-of-memory with Java heap
- Closed
- relates to
-
JDK-8154580 Save mirror in interpreter frame to enable cleanups of CLDClosure
- Resolved