Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to Java #29

Open
Codetoil opened this issue Feb 28, 2024 · 6 comments
Open

Port to Java #29

Codetoil opened this issue Feb 28, 2024 · 6 comments
Labels

Comments

@Codetoil
Copy link

Reason: image

@Speykious
Copy link
Owner

oh no

@Codetoil
Copy link
Author

Second Reason: I am a Java Programmer.

@5GameMaker
Copy link

@NotNull String hi = null;

@TudbuT
Copy link

TudbuT commented Apr 13, 2024

import sun.misc.Unsafe;

@Codestech1
Copy link

Codestech1 commented Apr 24, 2024

Simply put

while (true) System.gc();

into your code.

@TudbuT
Copy link

TudbuT commented Apr 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants