MCPcopy Create free account
hub / github.com/facebook/SoLoader / run

Method run

java/com/facebook/soloader/UnpackingSoSource.java:369–386  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

367 Runnable syncer =
368 new Runnable() {
369 @Override
370 public void run() {
371 LogUtil.v(TAG, "starting syncer worker");
372 try {
373 try {
374 if (runFsync) {
375 SysUtil.fsyncAll(soDirectory);
376 }
377 writeState(stateFileName, STATE_CLEAN, runFsync);
378 } finally {
379 LogUtil.v(
380 TAG, "releasing dso store lock for " + soDirectory + " (from syncer thread)");
381 lock.close();
382 }
383 } catch (IOException ex) {
384 throw new RuntimeException(ex);
385 }
386 }
387 };
388
389 if (rewriteStateAsync(flags)) {

Callers 1

refreshLockedMethod · 0.45

Calls 4

vMethod · 0.95
fsyncAllMethod · 0.95
writeStateMethod · 0.95
closeMethod · 0.45

Tested by

no test coverage detected