mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8037816: Fix for 8036122 breaks build with Xcode5/clang
Repaired or selectively disabled offending formats; future-proofed with additional checking Reviewed-by: kvn, jrose, stefank
This commit is contained in:
parent
563feb9091
commit
305ec3bd3f
293 changed files with 1285 additions and 913 deletions
|
@ -56,6 +56,7 @@
|
|||
#include "services/memoryService.hpp"
|
||||
#include "utilities/stack.inline.hpp"
|
||||
|
||||
PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
|
||||
|
||||
HeapWord* PSScavenge::_to_space_top_before_gc = NULL;
|
||||
int PSScavenge::_consecutive_skipped_scavenges = 0;
|
||||
|
@ -833,7 +834,7 @@ void PSScavenge::initialize() {
|
|||
|
||||
if (AlwaysTenure || NeverTenure) {
|
||||
assert(MaxTenuringThreshold == 0 || MaxTenuringThreshold == markOopDesc::max_age + 1,
|
||||
err_msg("MaxTenuringThreshold should be 0 or markOopDesc::max_age + 1, but is ", MaxTenuringThreshold));
|
||||
err_msg("MaxTenuringThreshold should be 0 or markOopDesc::max_age + 1, but is %d", (int) MaxTenuringThreshold));
|
||||
_tenuring_threshold = MaxTenuringThreshold;
|
||||
} else {
|
||||
// We want to smooth out our startup times for the AdaptiveSizePolicy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue