equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2016, 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. |
50 InstanceKlass::ClassState _init_state; // state of class |
50 InstanceKlass::ClassState _init_state; // state of class |
51 bool _is_shared; |
51 bool _is_shared; |
52 bool _has_finalizer; |
52 bool _has_finalizer; |
53 bool _has_subklass; |
53 bool _has_subklass; |
54 bool _has_nonstatic_fields; |
54 bool _has_nonstatic_fields; |
55 bool _has_default_methods; |
55 bool _has_nonstatic_concrete_methods; |
56 bool _is_anonymous; |
56 bool _is_anonymous; |
57 |
57 |
58 ciFlags _flags; |
58 ciFlags _flags; |
59 jint _nonstatic_field_size; |
59 jint _nonstatic_field_size; |
60 jint _nonstatic_oop_map_size; |
60 jint _nonstatic_oop_map_size; |
172 return 1; |
172 return 1; |
173 } else { |
173 } else { |
174 return 2; |
174 return 2; |
175 } |
175 } |
176 } |
176 } |
177 bool has_default_methods() { |
177 bool has_nonstatic_concrete_methods() { |
178 assert(is_loaded(), "must be loaded"); |
178 assert(is_loaded(), "must be loaded"); |
179 return _has_default_methods; |
179 return _has_nonstatic_concrete_methods; |
180 } |
180 } |
181 |
181 |
182 bool is_anonymous() { |
182 bool is_anonymous() { |
183 return _is_anonymous; |
183 return _is_anonymous; |
184 } |
184 } |