Wrote /root/JavaX-Caches/tmp_1373040410/main.java - 5194 bytes (written=5194, should be 5194)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar:/root/.tinybrain/snippet-cache/1400346.jar:/root/.tinybrain/snippet-cache/1400348.jar -d /root/JavaX-Caches/tmp_158917338 /root/JavaX-Caches/tmp_1373040410/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1373040410/main.java:1: error: class, interface, or enum expected
!include once #1027304 // Eclipse Collections
^
/root/JavaX-Caches/tmp_1373040410/main.java:1: error: illegal character: '#'
!include once #1027304 // Eclipse Collections
^
/root/JavaX-Caches/tmp_1373040410/main.java:7: error: class, interface, or enum expected
CompactTreeSet objects = new(intRangeComparatorByStart());
^
/root/JavaX-Caches/tmp_1373040410/main.java:8: error: class, interface, or enum expected
new IntHashSet pointers;
^
/root/JavaX-Caches/tmp_1373040410/main.java:9: error: class, interface, or enum expected
new LongHashSet pointerRanges; // IntRanges as longs
^
/root/JavaX-Caches/tmp_1373040410/main.java:10: error: class, interface, or enum expected
new IntIntHashMap relocationMap;
^
/root/JavaX-Caches/tmp_1373040410/main.java:11: error: class, interface, or enum expected
int[] newMem;
^
/root/JavaX-Caches/tmp_1373040410/main.java:12: error: class, interface, or enum expected
int startAddress; // 1 normally, 0 for PersistentManagedObjects_v1
^
/root/JavaX-Caches/tmp_1373040410/main.java:15: error: class, interface, or enum expected
new MultiMap> relocationCallbacks;
^
/root/JavaX-Caches/tmp_1373040410/main.java:17: error: class, interface, or enum expected
bool discardFreeListEarly; // saves memory, but ironically makes original memory unusable when compacting fails because of OOM
^
/root/JavaX-Caches/tmp_1373040410/main.java:18: error: class, interface, or enum expected
bool verbose = true;
^
/root/JavaX-Caches/tmp_1373040410/main.java:20: error: class, interface, or enum expected
*(ManagedIntObjects_v1 *mem) {}
^
/root/JavaX-Caches/tmp_1373040410/main.java:23: error: class, interface, or enum expected
public void noteObject(int start, int size, IVF1 updateAddress default null) {
^
/root/JavaX-Caches/tmp_1373040410/main.java:25: error: class, interface, or enum expected
objects.add(intRange(start, start+size));
^
/root/JavaX-Caches/tmp_1373040410/main.java:26: error: class, interface, or enum expected
if (updateAddress != null)
^
/root/JavaX-Caches/tmp_1373040410/main.java:28: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1373040410/main.java:31: error: class, interface, or enum expected
public void notePointer(int addr, IVF1 updateAddress) {
^
/root/JavaX-Caches/tmp_1373040410/main.java:34: error: class, interface, or enum expected
int target = mem.get(addr);
^
/root/JavaX-Caches/tmp_1373040410/main.java:35: error: class, interface, or enum expected
if (target != 0 && updateAddress != null)
^
/root/JavaX-Caches/tmp_1373040410/main.java:37: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1373040410/main.java:40: error: class, interface, or enum expected
public void noteRootPointer(int addr) {
^
/root/JavaX-Caches/tmp_1373040410/main.java:42: error: class, interface, or enum expected
pointers.add(addr);
^
/root/JavaX-Caches/tmp_1373040410/main.java:43: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1373040410/main.java:46: error: class, interface, or enum expected
public void notePointerArray(int start) {
^
/root/JavaX-Caches/tmp_1373040410/main.java:48: error: class, interface, or enum expected
int n = mem.get(start);
^
/root/JavaX-Caches/tmp_1373040410/main.java:49: error: class, interface, or enum expected
noteObject(start, n+1);
^
/root/JavaX-Caches/tmp_1373040410/main.java:50: error: class, interface, or enum expected
notePointerRange(IntRange(start+1, start+1+n));
^
/root/JavaX-Caches/tmp_1373040410/main.java:51: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1373040410/main.java:54: error: class, interface, or enum expected
public void noteIntArray(int start) {
^
/root/JavaX-Caches/tmp_1373040410/main.java:56: error: class, interface, or enum expected
int n = mem.get(start);
^
/root/JavaX-Caches/tmp_1373040410/main.java:57: error: class, interface, or enum expected
noteObject(start, n+1);
^
/root/JavaX-Caches/tmp_1373040410/main.java:58: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1373040410/main.java:62: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1373040410/main.java:66: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1373040410/main.java:70: error: class, interface, or enum expected
if (mem.size() == sizeNeeded) ret;
^
/root/JavaX-Caches/tmp_1373040410/main.java:72: error: class, interface, or enum expected
if (discardFreeListEarly) mem.freeList.clear();
^
/root/JavaX-Caches/tmp_1373040410/main.java:75: error: class, interface, or enum expected
print("Reserving " + toM(sizeNeeded*(long) mem.wordSizeInBytes()) + " MB");
^
/root/JavaX-Caches/tmp_1373040410/main.java:76: error: class, interface, or enum expected
newMem = new int[sizeNeeded];
^
/root/JavaX-Caches/tmp_1373040410/main.java:79: error: class, interface, or enum expected
print("Copying " + nObjects(objects) + " (" + n2(l(relocationCallbacks), "callback") + ")");
^
/root/JavaX-Caches/tmp_1373040410/main.java:80: error: class, interface, or enum expected
int freePtr = startAddress;
^
/root/JavaX-Caches/tmp_1373040410/main.java:82: error: class, interface, or enum expected
for (IntRange r : objects) {
^
/root/JavaX-Caches/tmp_1373040410/main.java:84: error: class, interface, or enum expected
if (oldObjectStart != newObjectStart) {
^
/root/JavaX-Caches/tmp_1373040410/main.java:86: error: class, interface, or enum expected
L> callbacks = relocationCallbacks.get(oldObjectStart);
^
/root/JavaX-Caches/tmp_1373040410/main.java:87: error: class, interface, or enum expected
deb()?.printVars("Moving object", +r, +oldObjectStart, +newObjectStart, +callbacks);
^
/root/JavaX-Caches/tmp_1373040410/main.java:88: error: class, interface, or enum expected
callFAll(callbacks, newObjectStart);
^
/root/JavaX-Caches/tmp_1373040410/main.java:89: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_1373040410/main.java:93: error: class, interface, or enum expected
freePtr += r.length();
^
/root/JavaX-Caches/tmp_1373040410/main.java:94: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1373040410/main.java:98: error: class, interface, or enum expected
print("Updating " + n2(pointers.size(), "pointer"));
^
/root/JavaX-Caches/tmp_1373040410/main.java:99: error: class, interface, or enum expected
IntIterator itPointers = pointers.intIterator();
^
/root/JavaX-Caches/tmp_1373040410/main.java:100: error: class, interface, or enum expected
while (itPointers.hasNext())
^
/root/JavaX-Caches/tmp_1373040410/main.java:103: error: class, interface, or enum expected
print("Updating " + n2(pointerRanges.size(), "pointer range"));
^
/root/JavaX-Caches/tmp_1373040410/main.java:104: error: class, interface, or enum expected
var itPointerRanges = pointerRanges.longIterator();
^
/root/JavaX-Caches/tmp_1373040410/main.java:105: error: class, interface, or enum expected
while (itPointerRanges.hasNext()) {
^
/root/JavaX-Caches/tmp_1373040410/main.java:107: error: class, interface, or enum expected
for (int i = r.start; i < r.end; i++)
^
/root/JavaX-Caches/tmp_1373040410/main.java:107: error: class, interface, or enum expected
for (int i = r.start; i < r.end; i++)
^
/root/JavaX-Caches/tmp_1373040410/main.java:107: error: class, interface, or enum expected
for (int i = r.start; i < r.end; i++)
^
/root/JavaX-Caches/tmp_1373040410/main.java:109: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1373040410/main.java:112: error: class, interface, or enum expected
mem.mem = newMem;
^
/root/JavaX-Caches/tmp_1373040410/main.java:113: error: class, interface, or enum expected
if (!discardFreeListEarly) mem.freeList.clear();
^
/root/JavaX-Caches/tmp_1373040410/main.java:114: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1373040410/main.java:117: error: class, interface, or enum expected
public int getNewLocation(int addr) {
^
/root/JavaX-Caches/tmp_1373040410/main.java:119: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1373040410/main.java:124: error: class, interface, or enum expected
if (obj == null) ret with print("Pointer without object: " + pointerAddr);
^
/root/JavaX-Caches/tmp_1373040410/main.java:126: error: class, interface, or enum expected
int newObjAddr = relocationMap.getIfAbsent(obj.start, obj.start);
^
/root/JavaX-Caches/tmp_1373040410/main.java:127: error: class, interface, or enum expected
int newPointerAddr = newObjAddr-obj.start+pointerAddr;
^
/root/JavaX-Caches/tmp_1373040410/main.java:130: error: class, interface, or enum expected
int target = mem.get(pointerAddr);
^
/root/JavaX-Caches/tmp_1373040410/main.java:131: error: class, interface, or enum expected
deb()?.printVars("movePointer", +pointerAddr, +obj, +newObjAddr, +newPointerAddr, +target);
^
/root/JavaX-Caches/tmp_1373040410/main.java:132: error: class, interface, or enum expected
if (target == 0) ret;
^
/root/JavaX-Caches/tmp_1373040410/main.java:134: error: class, interface, or enum expected
int newTarget = relocationMap.getIfAbsent(target, -1);
^
/root/JavaX-Caches/tmp_1373040410/main.java:135: error: class, interface, or enum expected
deb()?.printVars("movePointer", +newTarget);
^
/root/JavaX-Caches/tmp_1373040410/main.java:136: error: class, interface, or enum expected
if (newTarget >= 0)
^
/root/JavaX-Caches/tmp_1373040410/main.java:138: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1373040410/main.java:140: error: class, interface, or enum expected
public void noteString(int addr, IVF1 updateAddress default null) {
^
/root/JavaX-Caches/tmp_1373040410/main.java:142: error: class, interface, or enum expected
int n = ((mem.get(addr)^0x80000000)+3)/4;
^
/root/JavaX-Caches/tmp_1373040410/main.java:143: error: class, interface, or enum expected
noteObject(addr, n+1, updateAddress);
^
/root/JavaX-Caches/tmp_1373040410/main.java:144: error: class, interface, or enum expected
}
^
77 errors