src/hotspot/share/runtime/handles.hpp
changeset 49392 2956d0ece7a9
parent 49364 601146c66cad
child 49393 93fe2fc5c093
equal deleted inserted replaced
49391:02076019c25d 49392:2956d0ece7a9
    35 //------------------------------------------------------------------------------------------------------------------------
    35 //------------------------------------------------------------------------------------------------------------------------
    36 // In order to preserve oops during garbage collection, they should be
    36 // In order to preserve oops during garbage collection, they should be
    37 // allocated and passed around via Handles within the VM. A handle is
    37 // allocated and passed around via Handles within the VM. A handle is
    38 // simply an extra indirection allocated in a thread local handle area.
    38 // simply an extra indirection allocated in a thread local handle area.
    39 //
    39 //
    40 // A handle is a ValueObj, so it can be passed around as a value, can
    40 // A handle is a value object, so it can be passed around as a value, can
    41 // be used as a parameter w/o using &-passing, and can be returned as a
    41 // be used as a parameter w/o using &-passing, and can be returned as a
    42 // return value.
    42 // return value.
    43 //
    43 //
    44 // oop parameters and return types should be Handles whenever feasible.
    44 // oop parameters and return types should be Handles whenever feasible.
    45 //
    45 //