< prev index next >

jdk/src/jdk.management/solaris/native/libmanagement_ext/UnixOperatingSystem.c

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2015, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -36,11 +36,11 @@
 #include <utmpx.h>
 #include <dlfcn.h>
 #include <sys/loadavg.h>
 #include <jni.h>
 #include "jvm.h"
-#include "sun_management_OperatingSystemImpl.h"
+#include "com_sun_management_internal_OperatingSystemImpl.h"
 
 typedef struct {
     kstat_t *kstat;
     uint64_t  last_idle;
     uint64_t  last_total;

@@ -224,18 +224,18 @@
     }
     return -1.0;
 }
 
 JNIEXPORT jdouble JNICALL
-Java_sun_management_OperatingSystemImpl_getSystemCpuLoad0
+Java_com_sun_management_internal_OperatingSystemImpl_getSystemCpuLoad0
 (JNIEnv *env, jobject dummy)
 {
     return get_cpu_load(-1);
 }
 
 JNIEXPORT jdouble JNICALL
-Java_sun_management_OperatingSystemImpl_getProcessCpuLoad0
+Java_com_sun_management_internal_OperatingSystemImpl_getProcessCpuLoad0
 (JNIEnv *env, jobject dummy)
 {
     return get_process_load();
 }
 
< prev index next >