Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT on 64-bit platforms

>>>>> "Steve" == Steve Northover <Steve_Northover@xxxxxxx> writes:

Steve> Pointer math also produces addresses that can't be collected.

I still don't understand.

I don't see when such memory can ever be collected in the java sense.
It seems to me that it must always be explicitly freed according to
the usual C rules.  So if one of these `int' handles represents
C-style memory, then you have to pass in the original value in order
to free the memory.

Mapping int->pointer is a problem in the presence of pointer
arithmetic.  But this could be addressed by putting object size
information into the lookaside table.

Tom


Back to the top