MCPcopy Create free account
hub / github.com/eclipsesource/J2V8 / setWeak

Method setWeak

src/main/java/com/eclipsesource/v8/V8Value.java:228–234  ·  view source on GitHub ↗

Sets the V8Value as weak reference. A weak reference will eventually be closed when no more references exist to this object. Once setWeak is called, you should check if V8Value#isReleased() is true before invoking any methods on this object. If any other references exist to this object, the

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

getHandleMethod · 0.95
getV8RuntimePtrMethod · 0.80
checkThreadMethod · 0.45
checkReleasedMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected