Java GC descriptor vs. tree_int_cst on 64-bit platforms

Jeff Sturm jsturm@one-point.com
Tue Mar 27 21:09:00 GMT 2001


On 2001年3月27日, Richard Henderson wrote:
> > ... which is always a 32 bit constant, even on a 64 bit platform.
>> Err, well, not precisely. It's integer_type_node, so whatever "int"
> happens to be on the target. Which would be 64 bits on a T3E.

which is wrong in this case, since the descriptor must be word size (64
bits)?
> I'm guessing you mean the in-memory pointer size.
>> type_for_mode (ptr_mode, MODE_INT)

Bingo. I added
 TREE_TYPE (value) = type_for_mode (ptr_mode, MODE_INT);
Now it looks like I'm getting the whole descriptor (whereas the top bits
were truncated before). I'll run some tests and see what I get.
Jeff


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /