1 /* |
1 /* |
2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 |
25 #include "precompiled.hpp" |
26 # include "incls/_precompiled.incl" |
26 #include "classfile/systemDictionary.hpp" |
27 # include "incls/_jvmtiGetLoadedClasses.cpp.incl" |
27 #include "memory/universe.inline.hpp" |
|
28 #include "prims/jvmtiGetLoadedClasses.hpp" |
|
29 #include "runtime/thread.hpp" |
|
30 |
28 |
31 |
29 |
32 |
30 // The closure for GetLoadedClasses and GetClassLoaderClasses |
33 // The closure for GetLoadedClasses and GetClassLoaderClasses |
31 class JvmtiGetLoadedClassesClosure : public StackObj { |
34 class JvmtiGetLoadedClassesClosure : public StackObj { |
32 // Since the SystemDictionary::classes_do callback |
35 // Since the SystemDictionary::classes_do callback |