comparison src/cpu/sparc/vm/vm_version_sparc.cpp @ 17937:78bbf4d43a14

8037816: Fix for 8036122 breaks build with Xcode5/clang 8043029: Change 8037816 breaks HS build with older GCC versions which don't support diagnostic pragmas 8043164: Format warning in traceStream.hpp Summary: Backport of main fix + two corrections, enables clang compilation, turns on format attributes, corrects/mutes warnings Reviewed-by: kvn, coleenp, iveresov, twisti
author drchase
date Thu, 22 May 2014 15:52:41 -0400
parents 03214612e77e
children 52b4284cb496 b20a35eae442
comparison
equal deleted inserted replaced
17935:7384f6a12fc1 17937:78bbf4d43a14
316 tty->print("PREFETCH"); 316 tty->print("PREFETCH");
317 } else if (AllocatePrefetchInstr == 1) { 317 } else if (AllocatePrefetchInstr == 1) {
318 tty->print("BIS"); 318 tty->print("BIS");
319 } 319 }
320 if (AllocatePrefetchLines > 1) { 320 if (AllocatePrefetchLines > 1) {
321 tty->print_cr(" at distance %d, %d lines of %d bytes", AllocatePrefetchDistance, AllocatePrefetchLines, AllocatePrefetchStepSize); 321 tty->print_cr(" at distance %d, %d lines of %d bytes", (int) AllocatePrefetchDistance, (int) AllocatePrefetchLines, (int) AllocatePrefetchStepSize);
322 } else { 322 } else {
323 tty->print_cr(" at distance %d, one line of %d bytes", AllocatePrefetchDistance, AllocatePrefetchStepSize); 323 tty->print_cr(" at distance %d, one line of %d bytes", (int) AllocatePrefetchDistance, (int) AllocatePrefetchStepSize);
324 } 324 }
325 } 325 }
326 if (PrefetchCopyIntervalInBytes > 0) { 326 if (PrefetchCopyIntervalInBytes > 0) {
327 tty->print_cr("PrefetchCopyIntervalInBytes %d", PrefetchCopyIntervalInBytes); 327 tty->print_cr("PrefetchCopyIntervalInBytes %d", (int) PrefetchCopyIntervalInBytes);
328 } 328 }
329 if (PrefetchScanIntervalInBytes > 0) { 329 if (PrefetchScanIntervalInBytes > 0) {
330 tty->print_cr("PrefetchScanIntervalInBytes %d", PrefetchScanIntervalInBytes); 330 tty->print_cr("PrefetchScanIntervalInBytes %d", (int) PrefetchScanIntervalInBytes);
331 } 331 }
332 if (PrefetchFieldsAhead > 0) { 332 if (PrefetchFieldsAhead > 0) {
333 tty->print_cr("PrefetchFieldsAhead %d", PrefetchFieldsAhead); 333 tty->print_cr("PrefetchFieldsAhead %d", (int) PrefetchFieldsAhead);
334 } 334 }
335 if (ContendedPaddingWidth > 0) { 335 if (ContendedPaddingWidth > 0) {
336 tty->print_cr("ContendedPaddingWidth %d", ContendedPaddingWidth); 336 tty->print_cr("ContendedPaddingWidth %d", (int) ContendedPaddingWidth);
337 } 337 }
338 } 338 }
339 #endif // PRODUCT 339 #endif // PRODUCT
340 } 340 }
341 341