Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 17651:7a860525e91e
8033106: Wrong predicate for checking whether the correct amount of symbol table entries have been processed in G1
Summary: The change fixes the predicate check.
Reviewed-by: jmasa, tonyp, stefank
author | tschatzl |
---|---|
date | Fri, 31 Jan 2014 09:58:06 +0100 |
parents | a034dc5e910b |
children | 0eb64cfc0b76 |
comparison
equal
deleted
inserted
replaced
17650:5a9a209853bf | 17651:7a860525e91e |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2001, 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. |
5228 | 5228 |
5229 ~G1StringSymbolTableUnlinkTask() { | 5229 ~G1StringSymbolTableUnlinkTask() { |
5230 guarantee(!_process_strings || StringTable::parallel_claimed_index() >= _initial_string_table_size, | 5230 guarantee(!_process_strings || StringTable::parallel_claimed_index() >= _initial_string_table_size, |
5231 err_msg("claim value "INT32_FORMAT" after unlink less than initial string table size "INT32_FORMAT, | 5231 err_msg("claim value "INT32_FORMAT" after unlink less than initial string table size "INT32_FORMAT, |
5232 StringTable::parallel_claimed_index(), _initial_string_table_size)); | 5232 StringTable::parallel_claimed_index(), _initial_string_table_size)); |
5233 guarantee(!_process_strings || SymbolTable::parallel_claimed_index() >= _initial_symbol_table_size, | 5233 guarantee(!_process_symbols || SymbolTable::parallel_claimed_index() >= _initial_symbol_table_size, |
5234 err_msg("claim value "INT32_FORMAT" after unlink less than initial symbol table size "INT32_FORMAT, | 5234 err_msg("claim value "INT32_FORMAT" after unlink less than initial symbol table size "INT32_FORMAT, |
5235 SymbolTable::parallel_claimed_index(), _initial_symbol_table_size)); | 5235 SymbolTable::parallel_claimed_index(), _initial_symbol_table_size)); |
5236 } | 5236 } |
5237 | 5237 |
5238 void work(uint worker_id) { | 5238 void work(uint worker_id) { |