Mercurial > hg > graal-compiler
comparison src/share/vm/interpreter/bytecodeTracer.cpp @ 8104:f16e75e0cf11
8000797: NPG: is_pseudo_string_at() doesn't work
Summary: Zero Symbol* for constant pool strings to indicate pseudo_strings (objects that aren't strings). Clean up JVM_CONSTANT_Object and unused flags.
Reviewed-by: sspitsyn, jrose
author | coleenp |
---|---|
date | Fri, 22 Feb 2013 08:36:42 -0500 |
parents | da91efe96a93 |
children | 190899198332 |
comparison
equal
deleted
inserted
replaced
8103:5ed317b25e23 | 8104:f16e75e0cf11 |
---|---|
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()) { |