equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2015, 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. |
25 #ifndef SHARE_VM_OOPS_INSTANCEKLASS_HPP |
25 #ifndef SHARE_VM_OOPS_INSTANCEKLASS_HPP |
26 #define SHARE_VM_OOPS_INSTANCEKLASS_HPP |
26 #define SHARE_VM_OOPS_INSTANCEKLASS_HPP |
27 |
27 |
28 #include "classfile/classLoaderData.hpp" |
28 #include "classfile/classLoaderData.hpp" |
29 #include "gc/shared/specialized_oop_closures.hpp" |
29 #include "gc/shared/specialized_oop_closures.hpp" |
|
30 #include "logging/logLevel.hpp" |
30 #include "memory/referenceType.hpp" |
31 #include "memory/referenceType.hpp" |
31 #include "oops/annotations.hpp" |
32 #include "oops/annotations.hpp" |
32 #include "oops/constMethod.hpp" |
33 #include "oops/constMethod.hpp" |
33 #include "oops/fieldInfo.hpp" |
34 #include "oops/fieldInfo.hpp" |
34 #include "oops/instanceOop.hpp" |
35 #include "oops/instanceOop.hpp" |
1242 |
1243 |
1243 // Verification |
1244 // Verification |
1244 void verify_on(outputStream* st); |
1245 void verify_on(outputStream* st); |
1245 |
1246 |
1246 void oop_verify_on(oop obj, outputStream* st); |
1247 void oop_verify_on(oop obj, outputStream* st); |
|
1248 |
|
1249 // Logging |
|
1250 void print_loading_log(LogLevel::type type, ClassLoaderData* loader_data, const ClassFileStream* cfs) const; |
1247 }; |
1251 }; |
1248 |
1252 |
1249 // for adding methods |
1253 // for adding methods |
1250 // UNSET_IDNUM return means no more ids available |
1254 // UNSET_IDNUM return means no more ids available |
1251 inline u2 InstanceKlass::next_method_idnum() { |
1255 inline u2 InstanceKlass::next_method_idnum() { |