wasm gc: fix issue in calculating identity hashcode

This commit is contained in:
Alexey Andreev 2024-09-13 13:23:21 +02:00
parent 845523f1a7
commit 6cf2ff3cc4

View File

@ -257,7 +257,7 @@ public class TObject {
}
return monitor.id;
} else {
identity = WasmGCSupport.nextObjectId();
identity = WasmGCSupport.nextObjectId() & 0x7ffffff;
setWasmGCIdentity(identity);
}
}