Faculty of Information Technology
Software Engineering Group

Opened 5 years ago

Closed 5 years ago

#182 closed defect (fixed)

VM crashes while / shortly after running stx:goodies/smallsense tests

Reported by: Jan Vrany Owned by:
Priority: major Milestone: 8.0.0
Component: default Keywords:
Cc: Also affects CVS HEAD (eXept version): no


Change History (1)

comment:1 Changed 5 years ago by Jan Vrany

Resolution: fixed
Status: newclosed

The problem was that when Java is shut down, constant pools are nilled out. I there's a Java code runnning (in some process), then the interpreter tries to reference nil and - naturally - crashes.

The solution is to check for this situation. The downside is that it makes the interpreter slower. This may be one of the reasons why in Java, runtime structures not visible to the programmers and are kept at separate heap. Then they are solely under JVM control and JVM does not need to perform these checks.

Anyways, addressed in:

Note: See TracTickets for help on using tickets.