Open glebreutov opened 8 years ago
Seems I found solution: just access array through array pool methods
Hi @glebreutov
I think, array field assignments are not intercepted (I should do) and JVM crashes while trying to update card marking table (so fields assignment must be handled by Jillegal by bypassing JVM). Can you update setVoarray
method with this and try again?
public void setVoarray(HashVONode[] voarray) {
DirectMemoryServiceFactory.getDirectMemoryService().setObjectField(this, "voarray", voarray);
}
Yep, It' works. Thanks!
It's not an issue, rather a question: I,m trying to make offheap object, that contains offheap array
When I allocate it on heap - everything works fine, but when I trying to get it as offheap object
I'm getting JVM crash