mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8146987: Improve Parallel GC Full GC by caching results of live_words_in_range()
A large part of time in the parallel scavenge collector is spent finding out the amount of live words within memory ranges to find out where to move an object to. Try to incrementally calculate this value. Reviewed-by: tschatzl, mgerdin, jmasa
This commit is contained in:
parent
ce491c9057
commit
4f42f17d9e
17 changed files with 180 additions and 81 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -116,7 +116,7 @@ class ObjArrayKlass : public ArrayKlass {
|
|||
void oop_ps_push_contents( oop obj, PSPromotionManager* pm);
|
||||
// Parallel Compact
|
||||
void oop_pc_follow_contents(oop obj, ParCompactionManager* cm);
|
||||
void oop_pc_update_pointers(oop obj);
|
||||
void oop_pc_update_pointers(oop obj, ParCompactionManager* cm);
|
||||
#endif
|
||||
|
||||
// Oop fields (and metadata) iterators
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue