64-bit constants in source code

Christian Thalinger Christian.Thalinger at Sun.COM
Tue Jun 16 04:52:51 PDT 2009


Hi!

Yesterday I noticed that there are compiler specific CONST64 macros 
which emit the correct syntax for 64-bit constants for the various 
compilers HotSpot supports.

Is it recommended/required to use:

CONST64(0x00000000FFFFFFFF)

instead of:

0x00000000FFFFFFFFL

(I commited some code lately that uses the later.)

-- Christian



More information about the hotspot-dev mailing list