mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
7102489: RFE: cleanup jlong typedef on __APPLE__and _LLP64 systems
Define jlong as long on all LP64 platforms and add JLONG_FORMAT macro. Reviewed-by: dholmes, coleenp, mikael, kvn
This commit is contained in:
parent
07e2e8803a
commit
68f3dd76c9
34 changed files with 87 additions and 111 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -868,8 +868,8 @@ void VirtualSpace::print() {
|
|||
tty->print ("Virtual space:");
|
||||
if (special()) tty->print(" (pinned in memory)");
|
||||
tty->cr();
|
||||
tty->print_cr(" - committed: %ld", committed_size());
|
||||
tty->print_cr(" - reserved: %ld", reserved_size());
|
||||
tty->print_cr(" - committed: " SIZE_FORMAT, committed_size());
|
||||
tty->print_cr(" - reserved: " SIZE_FORMAT, reserved_size());
|
||||
tty->print_cr(" - [low, high]: [" INTPTR_FORMAT ", " INTPTR_FORMAT "]", low(), high());
|
||||
tty->print_cr(" - [low_b, high_b]: [" INTPTR_FORMAT ", " INTPTR_FORMAT "]", low_boundary(), high_boundary());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue