Lines Matching refs:os
47 _page_size = os::vm_page_size();
102 if (!os::numa_has_static_binding()) {
111 HeapWord *crossing_start = (HeapWord*)round_to(cur_top, os::vm_page_size());
112 HeapWord *crossing_end = (HeapWord*)round_to(cur_top + touched_words, os::vm_page_size());
128 if (!os::numa_has_static_binding()) {
230 bool changed = os::numa_topology_changed();
233 int lgrp_limit = (int)os::numa_get_groups_num();
235 int lgrp_num = (int)os::numa_get_leaf_groups(lgrp_ids, lgrp_limit);
291 os::realign_memory((char*)aligned_region.start(), aligned_region.byte_size(), page_size());
293 os::free_memory((char*)aligned_region.start(), aligned_region.byte_size(), page_size());
295 os::numa_make_local((char*)aligned_region.start(), aligned_region.byte_size(), lgrp_id);
308 os::free_memory((char*)aligned_region.start(), aligned_region.byte_size(), page_size());
332 if (!os::numa_has_static_binding()) {
565 set_page_size(UseLargePages ? alignment() : os::vm_page_size());
572 && page_size() > (size_t)os::vm_page_size()) {
573 set_page_size(os::vm_page_size());
666 if (!os::numa_has_static_binding()) {
680 if (!os::numa_has_static_binding()) {
725 if (!os::numa_has_static_binding() && top < value && top < s->end()) {
734 if (!os::numa_has_static_binding() && top < s->end()) {
768 if (lgrp_id == -1 || !os::numa_has_group_homing()) {
769 lgrp_id = os::numa_get_group_id();
778 i = os::random() % lgrp_spaces()->length();
798 if (p != NULL && !os::numa_has_static_binding()) {
799 for (HeapWord *i = p; i < p + size; i += os::vm_page_size() >> LogHeapWordSize) {
813 if (lgrp_id == -1 || !os::numa_has_group_homing()) {
814 lgrp_id = os::numa_get_group_id();
822 i = os::random() % lgrp_spaces()->length();
849 if (p != NULL && !os::numa_has_static_binding() ) {
850 for (HeapWord *i = p; i < p + size; i += os::vm_page_size() >> LogHeapWordSize) {
909 os::page_info info;
910 if (os::get_page_info(p, &info)) {
912 if (info.size > (size_t)os::vm_page_size()) {
924 p += os::vm_page_size();
925 space_stats()->_uncommited_space += os::vm_page_size();
952 os::page_info page_expected, page_found;
958 char *e = os::scan_pages(s, (char*)scan_end, &page_expected, &page_found);
965 os::free_memory(s, pointer_delta(e, s, sizeof(char)), page_size);