Port to Java
Codetoil opened this issue · comments
Anthony Michalek commented
Speykious commented
oh no
Anthony Michalek commented
Second Reason: I am a Java Programmer.
Buj commented
@NotNull String hi = null;
Tud commented
import sun.misc.Unsafe;
Codestech1 commented
Simply put
while (true) System.gc();
into your code.
Tud commented
Simply put
while (true) System.gc();
into your code.
the funny thing is
this is actually safe, but still worse than doing something unsafe because it will keep pausing the jvm on all threads indefinitely, meaning it will do nothing else in any thread ever again