hotspot/src/os/windows/vm/os_windows.hpp
Print this page
rev 611 : Merge
@@ -1,10 +1,7 @@
-#ifdef USE_PRAGMA_IDENT_HDR
-#pragma ident "@(#)os_windows.hpp 1.55 07/05/05 17:04:46 JVM"
-#endif
/*
- * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
+ * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -35,10 +32,11 @@
static int _processor_type;
static int _processor_level;
static julong _physical_memory;
static size_t _default_stack_size;
static bool _is_nt;
+ static bool _is_windows_2003;
public:
// Windows-specific interface:
static void initialize_system_info();
static void setmode_streams();
@@ -61,10 +59,13 @@
static volatile intx _os_thread_count;
// Tells whether the platform is NT or Windown95
static bool is_nt() { return _is_nt; }
+ // Tells whether the platform is Windows 2003
+ static bool is_windows_2003() { return _is_windows_2003; }
+
// Returns the byte size of a virtual memory page
static int vm_page_size() { return _vm_page_size; }
// Returns the size in bytes of memory blocks which can be allocated.
static int vm_allocation_granularity() { return _vm_allocation_granularity; }
@@ -121,9 +122,5 @@
_ParkEvent = CreateEvent (NULL, true, false, NULL) ;
guarantee (_ParkEvent != NULL, "invariant") ;
}
} ;
-
-
-
-