mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8080112: Replace and remove the last usages of CollectedHeap::n_par_threads()
Reviewed-by: jmasa, kbarrett
This commit is contained in:
parent
b77b3ec014
commit
8d0f1a6528
20 changed files with 72 additions and 101 deletions
|
@ -160,8 +160,7 @@ void CollectedHeap::trace_heap_after_gc(const GCTracer* gc_tracer) {
|
|||
// Memory state functions.
|
||||
|
||||
|
||||
CollectedHeap::CollectedHeap() : _n_par_threads(0)
|
||||
{
|
||||
CollectedHeap::CollectedHeap() {
|
||||
const size_t max_len = size_t(arrayOopDesc::max_array_length(T_INT));
|
||||
const size_t elements_per_word = HeapWordSize / sizeof(jint);
|
||||
_filler_array_max_size = align_object_size(filler_array_hdr_size() +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue