mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Need to add a space between macro identifier and string literal Reviewed-by: stefank, dholmes, kbarrett
This commit is contained in:
parent
912d770499
commit
304b59b0c8
85 changed files with 462 additions and 462 deletions
|
@ -158,8 +158,8 @@ class CardTableModRefBS: public ModRefBarrierSet {
|
|||
// Mapping from address to card marking array entry
|
||||
jbyte* byte_for(const void* p) const {
|
||||
assert(_whole_heap.contains(p),
|
||||
err_msg("Attempt to access p = "PTR_FORMAT" out of bounds of "
|
||||
" card marking array's _whole_heap = ["PTR_FORMAT","PTR_FORMAT")",
|
||||
err_msg("Attempt to access p = " PTR_FORMAT " out of bounds of "
|
||||
" card marking array's _whole_heap = [" PTR_FORMAT "," PTR_FORMAT ")",
|
||||
p2i(p), p2i(_whole_heap.start()), p2i(_whole_heap.end())));
|
||||
jbyte* result = &byte_map_base[uintptr_t(p) >> card_shift];
|
||||
assert(result >= _byte_map && result < _byte_map + _byte_map_size,
|
||||
|
@ -399,8 +399,8 @@ public:
|
|||
size_t delta = pointer_delta(p, byte_map_base, sizeof(jbyte));
|
||||
HeapWord* result = (HeapWord*) (delta << card_shift);
|
||||
assert(_whole_heap.contains(result),
|
||||
err_msg("Returning result = "PTR_FORMAT" out of bounds of "
|
||||
" card marking array's _whole_heap = ["PTR_FORMAT","PTR_FORMAT")",
|
||||
err_msg("Returning result = " PTR_FORMAT " out of bounds of "
|
||||
" card marking array's _whole_heap = [" PTR_FORMAT "," PTR_FORMAT ")",
|
||||
p2i(result), p2i(_whole_heap.start()), p2i(_whole_heap.end())));
|
||||
return result;
|
||||
}
|
||||
|
@ -408,8 +408,8 @@ public:
|
|||
// Mapping from address to card marking array index.
|
||||
size_t index_for(void* p) {
|
||||
assert(_whole_heap.contains(p),
|
||||
err_msg("Attempt to access p = "PTR_FORMAT" out of bounds of "
|
||||
" card marking array's _whole_heap = ["PTR_FORMAT","PTR_FORMAT")",
|
||||
err_msg("Attempt to access p = " PTR_FORMAT " out of bounds of "
|
||||
" card marking array's _whole_heap = [" PTR_FORMAT "," PTR_FORMAT ")",
|
||||
p2i(p), p2i(_whole_heap.start()), p2i(_whole_heap.end())));
|
||||
return byte_for(p) - _byte_map;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue