package evaluator
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- evaluator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- class JdiArray extends JdiObject
- class JdiClassObject extends JdiObject
-
class
Safe[A] extends AnyRef
Objects created on the remote JVM can be garbage-collected at any time.
Objects created on the remote JVM can be garbage-collected at any time. https://stackoverflow.com/questions/25793688/life-span-of-jdi-mirrors-of-objects-living-in-a-remote-jvm
This can be prevented by wrapping every object reference into a Safe instance. It calls
disableCollection
at construction andenableCollection
when the final result is retrieved.You can get the result out of a Safe instance by calling
getResult
. Then the object references are not protected anymore and can be normally garbage collected. - implicit class SafeList[A] extends AnyRef