mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +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
|
@ -2399,7 +2399,7 @@ bool SpaceManager::contains(const void *ptr) {
|
|||
|
||||
void SpaceManager::verify() {
|
||||
// If there are blocks in the dictionary, then
|
||||
// verfication of chunks does not work since
|
||||
// verification of chunks does not work since
|
||||
// being in the dictionary alters a chunk.
|
||||
if (block_freelists()->total_size() == 0) {
|
||||
for (ChunkIndex i = ZeroIndex; i < NumberOfInUseLists; i = next_chunk_index(i)) {
|
||||
|
@ -2868,7 +2868,7 @@ void Metaspace::set_narrow_klass_base_and_shift(address metaspace_base, address
|
|||
uint64_t klass_encoding_max = UnscaledClassSpaceMax << LogKlassAlignmentInBytes;
|
||||
// If compressed class space fits in lower 32G, we don't need a base.
|
||||
if (higher_address <= (address)klass_encoding_max) {
|
||||
lower_base = 0; // effectively lower base is zero.
|
||||
lower_base = 0; // Effectively lower base is zero.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue