mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +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
|
@ -183,7 +183,7 @@ void* CodeHeap::allocate(size_t instance_size, bool is_critical) {
|
|||
size_t number_of_segments = size_to_segments(instance_size + sizeof(HeapBlock));
|
||||
assert(segments_to_size(number_of_segments) >= sizeof(FreeBlock), "not enough room for FreeList");
|
||||
|
||||
// First check if we can satify request from freelist
|
||||
// First check if we can satisfy request from freelist
|
||||
debug_only(verify());
|
||||
HeapBlock* block = search_freelist(number_of_segments, is_critical);
|
||||
debug_only(if (VerifyCodeCacheOften) verify());
|
||||
|
@ -372,7 +372,7 @@ void CodeHeap::add_to_freelist(HeapBlock *a) {
|
|||
}
|
||||
|
||||
// Scan for right place to put into list. List
|
||||
// is sorted by increasing addresseses
|
||||
// is sorted by increasing addresses
|
||||
FreeBlock* prev = NULL;
|
||||
FreeBlock* cur = _freelist;
|
||||
while(cur != NULL && cur < b) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue