1.1 --- a/src/share/vm/gc_implementation/parNew/parOopClosures.inline.hpp Wed Sep 25 17:47:51 2013 +0200 1.2 +++ b/src/share/vm/gc_implementation/parNew/parOopClosures.inline.hpp Thu Sep 26 10:25:02 2013 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2007, 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 @@ -84,7 +84,7 @@ 1.11 Space* sp = gch->space_containing(p); 1.12 oop obj = oop(sp->block_start(p)); 1.13 assert((HeapWord*)obj < (HeapWord*)p, "Error"); 1.14 - tty->print_cr("Object: " PTR_FORMAT, obj); 1.15 + tty->print_cr("Object: " PTR_FORMAT, (void *)obj); 1.16 tty->print_cr("-------"); 1.17 obj->print(); 1.18 tty->print_cr("-----"); 1.19 @@ -110,7 +110,7 @@ 1.20 if (TraceScavenge) { 1.21 gclog_or_tty->print_cr("{%s %s ( " PTR_FORMAT " ) " PTR_FORMAT " -> " PTR_FORMAT " (%d)}", 1.22 "forwarded ", 1.23 - new_obj->klass()->internal_name(), p, obj, new_obj, new_obj->size()); 1.24 + new_obj->klass()->internal_name(), p, (void *)obj, (void *)new_obj, new_obj->size()); 1.25 } 1.26 #endif 1.27