Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/os.cpp @ 2333:f767174aac14
7021653: Parfait issue in hotspot/src/share/vm/oops/methodDataOops.hpp
Summary: Fix compilation error(s)
Reviewed-by: kvn, phh, jcoomes, dholmes
author | coleenp |
---|---|
date | Thu, 03 Mar 2011 19:53:03 -0500 |
parents | f7de3327c683 |
children | fc416c2556ec |
comparison
equal
deleted
inserted
replaced
2332:fbbeec6dad2d | 2333:f767174aac14 |
---|---|
631 guarantee(*q == badResourceValue, | 631 guarantee(*q == badResourceValue, |
632 "Thing freed should be malloc result."); | 632 "Thing freed should be malloc result."); |
633 *q = (u_char)freeBlockPad; | 633 *q = (u_char)freeBlockPad; |
634 } | 634 } |
635 if (PrintMalloc && tty != NULL) | 635 if (PrintMalloc && tty != NULL) |
636 fprintf(stderr, "os::free " SIZE_FORMAT " bytes --> " PTR_FORMAT "\n", size, memblock); | 636 fprintf(stderr, "os::free " SIZE_FORMAT " bytes --> " PTR_FORMAT "\n", size, (uintptr_t)memblock); |
637 } else if (PrintMalloc && tty != NULL) { | 637 } else if (PrintMalloc && tty != NULL) { |
638 // tty->print_cr("os::free %p", memblock); | 638 // tty->print_cr("os::free %p", memblock); |
639 fprintf(stderr, "os::free " PTR_FORMAT "\n", memblock); | 639 fprintf(stderr, "os::free " PTR_FORMAT "\n", (uintptr_t)memblock); |
640 } | 640 } |
641 #endif | 641 #endif |
642 ::free((char*)memblock - space_before); | 642 ::free((char*)memblock - space_before); |
643 } | 643 } |
644 | 644 |