Mercurial > hg > truffle
comparison src/share/vm/classfile/dictionary.cpp @ 4988:eb5b24d1499f
Merge
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 15:06:36 -0800 |
parents | b2cd0ee8f778 |
children | d2a62e0f25eb |
comparison
equal
deleted
inserted
replaced
4987:f292f9c590ba | 4988:eb5b24d1499f |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2012, 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. |
616 | 616 |
617 void Dictionary::print() { | 617 void Dictionary::print() { |
618 ResourceMark rm; | 618 ResourceMark rm; |
619 HandleMark hm; | 619 HandleMark hm; |
620 | 620 |
621 tty->print_cr("Java system dictionary (classes=%d)", number_of_entries()); | 621 tty->print_cr("Java system dictionary (table_size=%d, classes=%d)", |
622 table_size(), number_of_entries()); | |
622 tty->print_cr("^ indicates that initiating loader is different from " | 623 tty->print_cr("^ indicates that initiating loader is different from " |
623 "defining loader"); | 624 "defining loader"); |
624 | 625 |
625 for (int index = 0; index < table_size(); index++) { | 626 for (int index = 0; index < table_size(); index++) { |
626 for (DictionaryEntry* probe = bucket(index); | 627 for (DictionaryEntry* probe = bucket(index); |