Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/os.cpp @ 2280:a2babfb34c24
CiDebugInfo_Frame changed to CiFrame, pointer fix
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Mon, 04 Apr 2011 18:47:04 +0200 |
parents | f7de3327c683 |
children | 0654ee04b214 |
comparison
equal
deleted
inserted
replaced
2279:9aad24bf09ed | 2280:a2babfb34c24 |
---|---|
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, (intptr_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", (intptr_t)memblock); |
640 } | 640 } |
641 #endif | 641 #endif |
642 ::free((char*)memblock - space_before); | 642 ::free((char*)memblock - space_before); |
643 } | 643 } |
644 | 644 |