Skip to main content

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

Lah, JK writes:
 > Hi,
 > 
 >  
 > 
 > There was a mail thread on the topic around Sep 12, 2002, and no further
 > discussion since then, as far as I can figure out.
 > 
 >  
 > 
 > What is the current status?  Is anyone working on the project?  Is there a
 > plan?
 > 
 >  
 > 
 > I have looked into the issue briefly.  So far, I figured the following:
 > 
 >  
 > 
 > - Change type of any Java variable that holds native pointer from "int" to
 > "long".
 > 
 > - Make corresponding JNI function prototype changes.
 > 
 > - Keep memory management of native side separate from JVM.  In other words,
 > native code is responsible for freeing memory it allocated.
 > 
 >  
 > 
 > I am sure I don't have my arms around the whole issue, but I have a serious
 > interest in getting this done one way or other.
 > 
 > Please give me guidance on how to proceed.

I am intending to start working on this soon.  I agree with the basic
plan of extending the native pointers from int to long, but I'm not
sure about moving the memory management to the native side.

I was intending just to sit down and do it.  It may be that we could
co-operate in some way.  Perhaps you could fix the memory management
code in the way that you intend while I'll find and fix all the
pointers and do the appropriate casts.

Andrew.


Back to the top