1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2013, 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. |
333 st->print_cr(" %s", string); |
333 st->print_cr(" %s", string); |
334 } else if (tag.is_klass()) { |
334 } else if (tag.is_klass()) { |
335 st->print_cr(" %s", constants->resolved_klass_at(i)->external_name()); |
335 st->print_cr(" %s", constants->resolved_klass_at(i)->external_name()); |
336 } else if (tag.is_unresolved_klass()) { |
336 } else if (tag.is_unresolved_klass()) { |
337 st->print_cr(" <unresolved klass at %d>", i); |
337 st->print_cr(" <unresolved klass at %d>", i); |
338 } else if (tag.is_object()) { |
|
339 st->print(" <Object>"); |
|
340 print_oop(constants->object_at(i), st); |
|
341 } else if (tag.is_method_type()) { |
338 } else if (tag.is_method_type()) { |
342 int i2 = constants->method_type_index_at(i); |
339 int i2 = constants->method_type_index_at(i); |
343 st->print(" <MethodType> %d", i2); |
340 st->print(" <MethodType> %d", i2); |
344 print_symbol(constants->symbol_at(i2), st); |
341 print_symbol(constants->symbol_at(i2), st); |
345 } else if (tag.is_method_handle()) { |
342 } else if (tag.is_method_handle()) { |