src/cpu/x86/vm/vm_version_x86.cpp

changeset 6680
78bbf4d43a14
parent 6656
1eba0601f0dd
child 6876
710a3c8b516e
child 7025
b1bc1af04c6e
     1.1 --- a/src/cpu/x86/vm/vm_version_x86.cpp	Thu May 15 18:23:26 2014 -0400
     1.2 +++ b/src/cpu/x86/vm/vm_version_x86.cpp	Thu May 22 15:52:41 2014 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -925,16 +925,16 @@
    1.11    if (PrintMiscellaneous && Verbose) {
    1.12      tty->print_cr("Logical CPUs per core: %u",
    1.13                    logical_processors_per_package());
    1.14 -    tty->print("UseSSE=%d",UseSSE);
    1.15 +    tty->print("UseSSE=%d", (int) UseSSE);
    1.16      if (UseAVX > 0) {
    1.17 -      tty->print("  UseAVX=%d",UseAVX);
    1.18 +      tty->print("  UseAVX=%d", (int) UseAVX);
    1.19      }
    1.20      if (UseAES) {
    1.21        tty->print("  UseAES=1");
    1.22      }
    1.23  #ifdef COMPILER2
    1.24      if (MaxVectorSize > 0) {
    1.25 -      tty->print("  MaxVectorSize=%d", MaxVectorSize);
    1.26 +      tty->print("  MaxVectorSize=%d", (int) MaxVectorSize);
    1.27      }
    1.28  #endif
    1.29      tty->cr();
    1.30 @@ -957,23 +957,23 @@
    1.31          }
    1.32        }
    1.33        if (AllocatePrefetchLines > 1) {
    1.34 -        tty->print_cr(" at distance %d, %d lines of %d bytes", AllocatePrefetchDistance, AllocatePrefetchLines, AllocatePrefetchStepSize);
    1.35 +        tty->print_cr(" at distance %d, %d lines of %d bytes", (int) AllocatePrefetchDistance, (int) AllocatePrefetchLines, (int) AllocatePrefetchStepSize);
    1.36        } else {
    1.37 -        tty->print_cr(" at distance %d, one line of %d bytes", AllocatePrefetchDistance, AllocatePrefetchStepSize);
    1.38 +        tty->print_cr(" at distance %d, one line of %d bytes", (int) AllocatePrefetchDistance, (int) AllocatePrefetchStepSize);
    1.39        }
    1.40      }
    1.41  
    1.42      if (PrefetchCopyIntervalInBytes > 0) {
    1.43 -      tty->print_cr("PrefetchCopyIntervalInBytes %d", PrefetchCopyIntervalInBytes);
    1.44 +      tty->print_cr("PrefetchCopyIntervalInBytes %d", (int) PrefetchCopyIntervalInBytes);
    1.45      }
    1.46      if (PrefetchScanIntervalInBytes > 0) {
    1.47 -      tty->print_cr("PrefetchScanIntervalInBytes %d", PrefetchScanIntervalInBytes);
    1.48 +      tty->print_cr("PrefetchScanIntervalInBytes %d", (int) PrefetchScanIntervalInBytes);
    1.49      }
    1.50      if (PrefetchFieldsAhead > 0) {
    1.51 -      tty->print_cr("PrefetchFieldsAhead %d", PrefetchFieldsAhead);
    1.52 +      tty->print_cr("PrefetchFieldsAhead %d", (int) PrefetchFieldsAhead);
    1.53      }
    1.54      if (ContendedPaddingWidth > 0) {
    1.55 -      tty->print_cr("ContendedPaddingWidth %d", ContendedPaddingWidth);
    1.56 +      tty->print_cr("ContendedPaddingWidth %d", (int) ContendedPaddingWidth);
    1.57      }
    1.58    }
    1.59  #endif // !PRODUCT

mercurial