Home
last modified time | relevance | path

Searched refs:globalID (Results 1 – 1 of 1) sorted by relevance

/art/test/1974-resize-array/src/art/
DTest1974.java366 final long globalID = GetGlobalJniRef(arr); in runWithJniGlobal() local
368 DbgPrintln("Pre hash: " + ReadJniRef(globalID).hashCode()); in runWithJniGlobal()
370 "val is: " + Arrays.toString((Object[]) ReadJniRef(globalID)) + " resize +5"); in runWithJniGlobal()
371 ResizeArray(() -> ReadJniRef(globalID), ((Object[]) ReadJniRef(globalID)).length + 5); in runWithJniGlobal()
372 System.out.println("val is: " + Arrays.toString((Object[]) ReadJniRef(globalID))); in runWithJniGlobal()
373 DbgPrintln("Post hash: " + ReadJniRef(globalID).hashCode()); in runWithJniGlobal()
374 System.out.println("Same value? " + (ReadJniRef(globalID) == arr)); in runWithJniGlobal()
379 final long globalID = GetWeakGlobalJniRef(arr); in runWithJniWeakGlobal() local
381 DbgPrintln("Pre hash: " + ReadJniRef(globalID).hashCode()); in runWithJniWeakGlobal()
383 "val is: " + Arrays.toString((Object[]) ReadJniRef(globalID)) + " resize +5"); in runWithJniWeakGlobal()
[all …]