comparison src/share/vm/oops/constantPool.cpp @ 14297:febc6428bc79

8028275: Metaspace ShrinkGrowTest causes fatal error if run with JFR Summary: Clean up initialization from Threads::create_vm() so that exceptions cause vm_exit_during_initialzation without an exception mark. Reviewed-by: dholmes, hseigel
author coleenp
date Mon, 27 Jan 2014 23:12:13 -0500
parents b8860472c377
children 26c3b944dc35
comparison
equal deleted inserted replaced
14296:50bb249de889 14297:febc6428bc79
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");