Lines Matching defs:base

321 static inline size_t adjust_stack_size(address base, size_t size) {
326 if (size > (size_t)base) {
328 size = (size_t)base;
338 assert((address)&st < (address)st.ss_sp, "Invalid stack base returned");
354 // cache initial value of stack base
359 guarantee(os::Solaris::_main_stack_base != NULL, "Attempt to use null cached stack base");
376 // base may not be page aligned
377 address base = current_stack_base();
378 address bottom = (address)align_size_up((intptr_t)(base - size), os::vm_page_size());;
379 return (size_t)(base - bottom);
1495 address base = jt->stack_base();
1504 size_t current_stack_offset = (size_t)(base - (address)&stack_size);
1517 address bottom = (address)align_size_up((intptr_t)(base - stack_size), os::vm_page_size());;
1518 stack_size = (size_t)(base - bottom);
1526 size_t size = adjust_stack_size(base, (size_t)limits.rlim_cur);
1950 assert(libjvm_base_addr !=NULL, "Cannot obtain base address for libjvm");
3184 char* base[max_tries];
3231 base[i] = reserve_memory(bytes);
3233 if (base[i] != NULL) {
3235 if (base[i] == requested_addr) {
3242 size_t actual_gap = base[i-1] - base[i] - bytes;
3251 unmap_memory(base[i], bytes);
3252 unmap_memory(base[i-1], size[i-1]);
3264 // because we'll give back the entire block at base[i] and
3273 size_t top_overlap = requested_addr + (bytes + gap) - base[i];
3276 unmap_memory(base[i], top_overlap);
3277 base[i] += top_overlap;
3280 size_t bottom_overlap = base[i] + bytes - requested_addr;
3297 if (base[j] != NULL) {
3298 unmap_memory(base[j], size[j]);
3564 bool os::release_memory_special(char* base, size_t bytes) {
3567 int rslt = shmdt(base);
3569 tkr.record((address)base, bytes);
6167 assert((address)&st < (address)st.ss_sp, "Invalid stack base returned");