mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +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
|
@ -136,7 +136,7 @@ void PSYoungGen::initialize_work() {
|
|||
// generation - the less space committed, the smaller the survivor
|
||||
// space, possibly as small as an alignment. However, we are interested
|
||||
// in the case where the young generation is 100% committed, as this
|
||||
// is the point where eden reachs its maximum size. At this point,
|
||||
// is the point where eden reaches its maximum size. At this point,
|
||||
// the size of a survivor space is max_survivor_size.
|
||||
max_eden_size = size - 2 * max_survivor_size;
|
||||
}
|
||||
|
@ -288,7 +288,7 @@ bool PSYoungGen::resize_generation(size_t eden_size, size_t survivor_size) {
|
|||
// There used to be this guarantee there.
|
||||
// guarantee ((eden_size + 2*survivor_size) <= _max_gen_size, "incorrect input arguments");
|
||||
// Code below forces this requirement. In addition the desired eden
|
||||
// size and disired survivor sizes are desired goals and may
|
||||
// size and desired survivor sizes are desired goals and may
|
||||
// exceed the total generation size.
|
||||
|
||||
assert(min_gen_size() <= orig_size && orig_size <= max_size(), "just checking");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue