in shared/java/Path.java [494:507]
public int getVerbs(PathVerb[] verbs, int max) {
try {
assert verbs == null ? max == 0 : true;
Stats.onNativeCall();
byte[] out = verbs == null ? null : new byte[max];
int count = _nGetVerbs(_ptr, out, max);
if (verbs != null)
for (int i = 0; i < Math.min(count, max); ++i)
verbs[i] = PathVerb._values[out[i]];
return count;
} finally {
Reference.reachabilityFence(this);
}
}