jdk/src/share/back/commonRef.c
changeset 21278 ef8a3a2a72f2
parent 14342 8435a30053c1
child 23010 6dadb192ad81
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
    50  *
    50  *
    51  * A reference count of each jobject is also maintained here. It tracks
    51  * A reference count of each jobject is also maintained here. It tracks
    52  * the number times an object has been referenced through
    52  * the number times an object has been referenced through
    53  * commonRef_refToID. A RefNode is freed once the reference
    53  * commonRef_refToID. A RefNode is freed once the reference
    54  * count is decremented to 0 (with commonRef_release*), even if the
    54  * count is decremented to 0 (with commonRef_release*), even if the
    55  * correspoding object has not been collected.
    55  * corresponding object has not been collected.
    56  *
    56  *
    57  * One hash table is maintained. The mapping of ID to jobject (or RefNode*)
    57  * One hash table is maintained. The mapping of ID to jobject (or RefNode*)
    58  * is handled with one hash table that will re-size itself as the number
    58  * is handled with one hash table that will re-size itself as the number
    59  * of RefNode's grow.
    59  * of RefNode's grow.
    60  */
    60  */