Delete unused local refs at cstack.pop/pop2/popcnt/clear/set/setref/set2 and clocals.set/set2/setref to prevent memory leaks. Also try to call native functions from native functions (not to make lots of calls to JNI (if class.methods.get("native...").... code.append("callto_it_method(args)");).
Delete unused local refs at cstack.pop/pop2/popcnt/clear/set/setref/set2 and clocals.set/set2/setref to prevent memory leaks. Also try to call native functions from native functions (not to make lots of calls to JNI (
if class.methods.get("native...").... code.append("callto_it_method(args)");
).