MCPcopy Create free account
hub / github.com/badvision/jace / markDirtyValue

Method markDirtyValue

src/main/java/jace/state/StateManager.java:244–254  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

242 }
243
244 public static void markDirtyValue(Object o) {
245 StateManager manager = Emulator.withComputer(StateManager::getInstance, null);
246 if (manager.objectLookup == null) {
247 return;
248 }
249 ObjectGraphNode node = manager.objectLookup.get(o);
250 if (node == null) {
251 return;
252 }
253 node.markDirty();
254 }
255
256 /**
257 *

Callers 3

writeByteMethod · 0.95
readDiskMethod · 0.95
writeMethod · 0.95

Calls 3

withComputerMethod · 0.95
markDirtyMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected