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

Method run

corpus/java/training/guava/cache/Striped64.java:326–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

getMethod · 0.65
setAccessibleMethod · 0.45
castMethod · 0.45

Tested by

no test coverage detected