1.1 --- a/src/share/vm/oops/markOop.cpp Thu May 15 18:23:26 2014 -0400 1.2 +++ b/src/share/vm/oops/markOop.cpp Thu May 22 15:52:41 2014 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2012, 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 @@ -26,9 +26,11 @@ 1.11 #include "oops/markOop.hpp" 1.12 #include "runtime/thread.inline.hpp" 1.13 1.14 +PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC 1.15 + 1.16 void markOopDesc::print_on(outputStream* st) const { 1.17 if (is_locked()) { 1.18 - st->print("locked(0x%lx)->", value()); 1.19 + st->print("locked(" INTPTR_FORMAT ")->", value()); 1.20 markOop(*(markOop*)value())->print_on(st); 1.21 } else { 1.22 assert(is_unlocked() || has_bias_pattern(), "just checking");