< prev index next >
src/share/vm/classfile/stringTable.cpp
Print this page
@@ -735,11 +735,11 @@
if (*top + ch_table.get_required_bytes() > end) {
// not enough space left
return false;
}
ch_table.dump(top, end);
- *top = (char*)align_pointer_up(*top, sizeof(void*));
+ *top = (char*)align_ptr_up(*top, sizeof(void*));
#endif
return true;
}
@@ -758,11 +758,11 @@
// initialize the shared table
juint *p = (juint*)buffer;
const char* end = _shared_table.init(
CompactHashtable<oop, char>::_string_table, (char*)p);
- const char* aligned_end = (const char*)align_pointer_up(end, sizeof(void*));
+ const char* aligned_end = (const char*)align_ptr_up(end, sizeof(void*));
if (_ignore_shared_strings) {
_shared_table.reset();
}
< prev index next >