Loading... (original) (raw)

JNI has weak and strong off-heap references to oops. Today the weak semantics is manages using explicit calls to G1 SATB enqueue barriers. Today the strong semantics simply assume processing in a stop-the-world phase (either STW collection or an STW initial mark).

Now that the Access API is available, it should be used instead.