instanceof klass "constant"
Deneau, Tom
tom.deneau at amd.com
Thu Oct 24 15:05:15 PDT 2013
We have some junit tests that test instanceof.
The code for these ends up loading from the klass ptr field of the object (offset 8) and comparing to a 64-bit "constant" klass value. Is this constant something that can change with GC and then need to be fixed up?
Currently we do handle similar cases like class references for static fields by using a JNI weak reference but is this something that falls in that category?
-- Tom
More information about the graal-dev
mailing list