MCPcopy Create free account
hub / github.com/antlr/codebuff / run

Method run

output/java_guava/1.4.17/Striped64.java:332–340  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

330 return java.security.AccessController.doPrivileged(new java.security.PrivilegedExceptionAction<sun.misc.Unsafe>() {
331
332 public sun.misc.Unsafe run() throws Exception {
333 Class<sun.misc.Unsafe> k = sun.misc.Unsafe.class;
334 for (java.lang.reflect.Field f : k.getDeclaredFields()) {
335 f.setAccessible(true);
336 Object x = f.get(null);
337 if (k.isInstance(x)) return k.cast(x);
338 }
339 throw new NoSuchFieldError("the Unsafe");
340 }
341 });
342 } catch (java.security.PrivilegedActionException e) {
343 throw new RuntimeException("Could not initialize intrinsics", e.getCause());

Callers

nothing calls this directly

Calls 3

getMethod · 0.65
setAccessibleMethod · 0.45
castMethod · 0.45

Tested by

no test coverage detected