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

Vladimir Kozlov vladimir.kozlov at oracle.com
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?

Thanks,
Vladimir

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 http://cr.openjdk.java.net/~hseigel/bug_7102489/
> <http://cr.openjdk.java.net/%7Ehseigel/bug_7102489/>
> Bug link at http://bugs.sun.com/view_bug.do?bug_id=7102489
>
> Thank you,
> Harold


More information about the hotspot-runtime-dev mailing list