A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-August/037517.html below:

[Python-Dev] sizeof(long) != sizeof(void*)

[Python-Dev] sizeof(long) != sizeof(void*) [Python-Dev] sizeof(long) != sizeof(void*)Samuele Pedroni pedronis at bluewin.ch
Thu Aug 7 10:13:21 EDT 2003
At 08:23 07.08.2003 +0200, Martin v. Löwis wrote:

> > why do you think it certainly have to.
>
>Because, in jvmpi.h, I find this:
>
>struct _jobjectID;
>typedef struct _jobjectID * jobjectID;       /* type of object ids */
>typedef struct {
>     ...
>     jobjectID (*jobject2jobjectID)(jobject jobj);
>     ...
>} JVMPI_Interface;

care to do you your homework better next time please, instead of a making a 
cheap point:

http://java.sun.com/j2se/1.4.2/docs/guide/jvmpi/jvmpi.html#jvmpi_ids

notice things like:

A jobjectID is defined by an object alloc event, and remains valid in the 
arena in which the object is allocated until one of its undefining events 
arrive:
...
An object move event is a special type of undefining events. Unlike other 
undefining events which signal the end-of-life of the corresponding 
entities, the object still exists, but its ID changes, and it may have been 
moved to a new arena.
...

Since object IDs may be invalidated during GC,...

See also:

http://java.sun.com/j2se/1.4.2/docs/guide/jvmpi/jvmpi.html#obj_move

Thanks.




More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4