src/share/vm/runtime/perfData.cpp

changeset 4465
203f64878aab
parent 4165
fb19af007ffc
child 5237
f2110083203d
     1.1 --- a/src/share/vm/runtime/perfData.cpp	Wed Jan 16 16:30:04 2013 +0100
     1.2 +++ b/src/share/vm/runtime/perfData.cpp	Thu Jan 17 10:25:16 2013 -0500
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2001, 2013, 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 @@ -192,7 +192,7 @@
    1.11  }
    1.12  
    1.13  int PerfLong::format(char* buffer, int length) {
    1.14 -  return jio_snprintf(buffer, length,"%lld", *(jlong*)_valuep);
    1.15 +  return jio_snprintf(buffer, length, JLONG_FORMAT, *(jlong*)_valuep);
    1.16  }
    1.17  
    1.18  PerfLongVariant::PerfLongVariant(CounterNS ns, const char* namep, Units u,

mercurial