hotspot/src/share/vm/oops/constantPool.cpp
changeset 22539 a27fa687eca8
parent 21079 7028d0cb9b49
child 22750 a3c879b18f22
equal deleted inserted replaced
22538:5261297676ef 22539:a27fa687eca8
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, 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.
  1872 
  1872 
  1873 
  1873 
  1874 // Printing
  1874 // Printing
  1875 
  1875 
  1876 void ConstantPool::print_on(outputStream* st) const {
  1876 void ConstantPool::print_on(outputStream* st) const {
  1877   EXCEPTION_MARK;
       
  1878   assert(is_constantPool(), "must be constantPool");
  1877   assert(is_constantPool(), "must be constantPool");
  1879   st->print_cr(internal_name());
  1878   st->print_cr(internal_name());
  1880   if (flags() != 0) {
  1879   if (flags() != 0) {
  1881     st->print(" - flags: 0x%x", flags());
  1880     st->print(" - flags: 0x%x", flags());
  1882     if (has_preresolution()) st->print(" has_preresolution");
  1881     if (has_preresolution()) st->print(" has_preresolution");