< prev index next >
src/os/windows/vm/os_windows.cpp
Print this page
*** 151,165 ****
return result;
}
// Implementation of os
- bool os::getenv(const char* name, char* buffer, int len) {
- int result = GetEnvironmentVariable(name, buffer, len);
- return result > 0 && result < len;
- }
-
bool os::unsetenv(const char* name) {
assert(name != NULL, "Null pointer");
return (SetEnvironmentVariable(name, NULL) == TRUE);
}
--- 151,160 ----
*** 5928,5933 ****
// restore globals
UseLargePagesIndividualAllocation = old_use_large_pages_individual_allocation;
UseNUMAInterleaving = old_use_numa_interleaving;
}
#endif // PRODUCT
-
--- 5923,5927 ----
< prev index next >