mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
6700789: G1: Enable use of compressed oops with G1 heaps
Modifications to G1 so as to allow the use of compressed oops. Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
This commit is contained in:
parent
50d7db1805
commit
075c1335cb
58 changed files with 1233 additions and 1175 deletions
|
@ -49,7 +49,7 @@ void SafepointSynchronize::begin() {
|
|||
// In the future we should investigate whether CMS can use the
|
||||
// more-general mechanism below. DLD (01/05).
|
||||
ConcurrentMarkSweepThread::synchronize(false);
|
||||
} else {
|
||||
} else if (UseG1GC) {
|
||||
ConcurrentGCThread::safepoint_synchronize();
|
||||
}
|
||||
#endif // SERIALGC
|
||||
|
@ -400,7 +400,7 @@ void SafepointSynchronize::end() {
|
|||
// If there are any concurrent GC threads resume them.
|
||||
if (UseConcMarkSweepGC) {
|
||||
ConcurrentMarkSweepThread::desynchronize(false);
|
||||
} else {
|
||||
} else if (UseG1GC) {
|
||||
ConcurrentGCThread::safepoint_desynchronize();
|
||||
}
|
||||
#endif // SERIALGC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue