Mercurial > hg > graal-jvmci-8
diff src/share/vm/memory/allocation.cpp @ 17622:849eb7bfceac
8028468: Add inlining information into ciReplay
Summary: Allow dump and replay inlining for specified method during a program execution.
Reviewed-by: roland, twisti
author | kvn |
---|---|
date | Wed, 08 Jan 2014 10:25:50 -0800 |
parents | 9758d9f36299 |
children | db1ff6781ab4 40353abd7984 a9becfeecd1b |
line wrap: on
line diff
--- a/src/share/vm/memory/allocation.cpp Wed Jan 08 12:05:19 2014 +0100 +++ b/src/share/vm/memory/allocation.cpp Wed Jan 08 10:25:50 2014 -0800 @@ -140,7 +140,7 @@ void ResourceObj::set_allocation_type(address res, allocation_type type) { // Set allocation type in the resource object uintptr_t allocation = (uintptr_t)res; - assert((allocation & allocation_mask) == 0, "address should be aligned to 4 bytes at least"); + assert((allocation & allocation_mask) == 0, err_msg("address should be aligned to 4 bytes at least: " PTR_FORMAT, res)); assert(type <= allocation_mask, "incorrect allocation type"); ResourceObj* resobj = (ResourceObj *)res; resobj->_allocation_t[0] = ~(allocation + type);