ShadowOfHeaven
ShadowOfHeaven
JCHJava Community | Help. Code. Learn.
Created by ! [null] Structure on 9/20/2024 in #java-help
Need help fast pls (minecraft code)
the error is self-explanatory
6 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
So they pretty much are saying "more work if you wanna support all java versions"
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
VarHandles' main features were added in java 9
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
And even if that's not the main concern or the difference isn't significant
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
Unsafe can offer better performance to VarHandles
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
But I honestly don't see the reason behind that
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
It's deprecated since java 23
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
So it isn't likely that I can find any object by searching through all addresses?
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
I just don't know about this
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
It does wonders for fast modifying of basically anything
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
Even if it's not stored anywhere as a variable
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
And therefore completly override any object I want?
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
Could I somehow update the thread-cached values
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
If I were to replace that memory address with another object
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
That makes me wonder
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
So I COULD perform a search by like Unsafe#getObject(long address) and check every address to get for example a thread?
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
Wouldn't it still be stored as an object in memory somewhere?
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
And it always does something but the reference to it is lost
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
Or if you just once started a new thread
38 replies
JCHJava Community | Help. Code. Learn.
Created by ShadowOfHeaven on 7/6/2024 in #java-help
memory address search
Wouldn't that prevent it from being garbage-collected as it's method's bytecode is used?
38 replies