< prev index next >

src/os/windows/vm/os_windows.cpp

Print this page

        

@@ -151,15 +151,10 @@
   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);
 }
 

@@ -5928,6 +5923,5 @@
   // restore globals
   UseLargePagesIndividualAllocation = old_use_large_pages_individual_allocation;
   UseNUMAInterleaving = old_use_numa_interleaving;
 }
 #endif // PRODUCT
-
< prev index next >