Request for review: 7102489: RFE: cleanup jlong typedef on __APPLE__ and _LP64 systems

Vladimir Kozlov vladimir.kozlov at
Thu Jan 10 18:46:11 PST 2013

Can we just define INT64_FORMAT as platform specific and use it instead 
of adding new JLONG_FORMAT?


On 1/10/13 10:39 AM, harold seigel wrote:
> Hi,
> Please review the following changes to fix bug 7102489.
> Summary:
> The definition of type jlong differed on Mac OS from the other 64 bit
> platforms.  This fix makes it consistent.  In order to do this, this fix
> defines new macros, JLONG_FORMAT and JULONG_FORMAT, for printing and
> scanning jlongs and julongs.
> This fix also does some cleanup.  Methods jlong_format_specifier() and
> julong_format_specifer() were removed and some format specifiers were
> replaced with appropriate macros.
> Open webrev at
> <>
> Bug link at
> Thank you,
> Harold

More information about the hotspot-runtime-dev mailing list