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

Method release

src/main/java/com/eclipsesource/v8/V8Locker.java:79–87  ·  view source on GitHub ↗

Release the lock if it's currently held by the calling thread. If the current thread does not hold the lock, and error will be thrown. If no thread holds the lock then nothing will happen.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 4

checkThreadMethod · 0.95
releaseLockMethod · 0.80
getV8RuntimePtrMethod · 0.80
isReleasedMethod · 0.45

Tested by 7

testAcquireLockerMethod · 0.76
testMultipleReleaseMethod · 0.76
testDoesNotHasLockMethod · 0.76