mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8025856: Fix typos in the GC code
Fix about 440 typos in comments in the VM code Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
This commit is contained in:
parent
4c7c3f0613
commit
81ba2e32c0
150 changed files with 524 additions and 545 deletions
|
@ -673,7 +673,7 @@ ParallelScavengeHeap* ParallelScavengeHeap::heap() {
|
|||
|
||||
// Before delegating the resize to the young generation,
|
||||
// the reserved space for the young and old generations
|
||||
// may be changed to accomodate the desired resize.
|
||||
// may be changed to accommodate the desired resize.
|
||||
void ParallelScavengeHeap::resize_young_gen(size_t eden_size,
|
||||
size_t survivor_size) {
|
||||
if (UseAdaptiveGCBoundary) {
|
||||
|
@ -690,7 +690,7 @@ void ParallelScavengeHeap::resize_young_gen(size_t eden_size,
|
|||
|
||||
// Before delegating the resize to the old generation,
|
||||
// the reserved space for the young and old generations
|
||||
// may be changed to accomodate the desired resize.
|
||||
// may be changed to accommodate the desired resize.
|
||||
void ParallelScavengeHeap::resize_old_gen(size_t desired_free_space) {
|
||||
if (UseAdaptiveGCBoundary) {
|
||||
if (size_policy()->bytes_absorbed_from_eden() != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue