src/share/vm/services/classLoadingService.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/services/classLoadingService.hpp Fri Sep 21 10:49:51 2012
--- new/src/share/vm/services/classLoadingService.hpp Fri Sep 21 10:49:51 2012
*** 1,7 ****
--- 1,7 ----
/*
! * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
! * Copyright (c) 2003, 2010, 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.
*** 53,63 ****
--- 53,63 ----
public:
static void init();
static bool get_verbose() { return TraceClassLoading; }
static bool set_verbose(bool verbose);
! static void reset_trace_class_unloading() NOT_MANAGEMENT_RETURN;
static jlong loaded_class_count() {
return _classes_loaded_count->get_value() + _shared_classes_loaded_count->get_value();
}
static jlong unloaded_class_count() {
*** 100,116 ****
--- 100,119 ----
}
static jlong class_method_data_size() {
return (UsePerfData ? _class_methods_size->get_value() : -1);
}
- static void notify_class_loaded(InstanceKlass* k, bool shared_class);
+ NOT_MANAGEMENT_RETURN;
// All unloaded classes are non-shared
! static void notify_class_unloaded(InstanceKlass* k) NOT_MANAGEMENT_RETURN;
static void add_class_method_size(int size) {
+ #if INCLUDE_MANAGEMENT
if (UsePerfData) {
_class_methods_size->inc(size);
}
+ #endif // INCLUDE_MANAGEMENT
}
};
// FIXME: make this piece of code to be shared by M&M and JVMTI
class LoadedClassesEnumerator : public StackObj {
src/share/vm/services/classLoadingService.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File