hotspot/src/os/windows/vm/os_windows.hpp
changeset 22891 1f5d1fff23fa
parent 18943 7d0ef675e808
child 22894 870fbe165d06
--- a/hotspot/src/os/windows/vm/os_windows.hpp	Wed Feb 19 02:58:13 2014 +0000
+++ b/hotspot/src/os/windows/vm/os_windows.hpp	Wed Feb 19 16:22:15 2014 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. 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
@@ -39,6 +39,7 @@
   static bool   _is_nt;
   static bool   _is_windows_2003;
   static bool   _is_windows_server;
+  static bool   _has_performance_count;
 
   static void print_windows_version(outputStream* st);
 
@@ -60,6 +61,9 @@
   // load dll from Windows system directory or Windows directory
   static HINSTANCE load_Windows_dll(const char* name, char *ebuf, int ebuflen);
 
+  private:
+    static void initialize_performance_counter();
+
  public:
   // Generic interface: