Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 14345:2edf6f3e191d
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 | 44315152d434 |
children | 06dfb0e4dcb8 |
comparison
equal
deleted
inserted
replaced
14344:bec0ef450ead | 14345:2edf6f3e191d |
---|---|
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. |
5220 | 5220 |
5221 ~G1StringSymbolTableUnlinkTask() { | 5221 ~G1StringSymbolTableUnlinkTask() { |
5222 guarantee(!_process_strings || StringTable::parallel_claimed_index() >= _initial_string_table_size, | 5222 guarantee(!_process_strings || StringTable::parallel_claimed_index() >= _initial_string_table_size, |
5223 err_msg("claim value "INT32_FORMAT" after unlink less than initial string table size "INT32_FORMAT, | 5223 err_msg("claim value "INT32_FORMAT" after unlink less than initial string table size "INT32_FORMAT, |
5224 StringTable::parallel_claimed_index(), _initial_string_table_size)); | 5224 StringTable::parallel_claimed_index(), _initial_string_table_size)); |
5225 guarantee(!_process_strings || SymbolTable::parallel_claimed_index() >= _initial_symbol_table_size, | 5225 guarantee(!_process_symbols || SymbolTable::parallel_claimed_index() >= _initial_symbol_table_size, |
5226 err_msg("claim value "INT32_FORMAT" after unlink less than initial symbol table size "INT32_FORMAT, | 5226 err_msg("claim value "INT32_FORMAT" after unlink less than initial symbol table size "INT32_FORMAT, |
5227 SymbolTable::parallel_claimed_index(), _initial_symbol_table_size)); | 5227 SymbolTable::parallel_claimed_index(), _initial_symbol_table_size)); |
5228 } | 5228 } |
5229 | 5229 |
5230 void work(uint worker_id) { | 5230 void work(uint worker_id) { |