8003722: More gcc 4.7 compilation errors

Mon, 26 Nov 2012 12:31:03 -0500

author
coleenp
date
Mon, 26 Nov 2012 12:31:03 -0500
changeset 4297
19c1bd641922
parent 4296
53715fb1597d
child 4298
d0aa87f04bd5

8003722: More gcc 4.7 compilation errors
Summary: Add a few more this->qualifications.
Reviewed-by: coleenp, dholmes
Contributed-by: duboscq@ssw.jku.at

src/share/vm/memory/binaryTreeDictionary.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/memory/binaryTreeDictionary.cpp	Tue Nov 20 11:40:11 2012 +0100
     1.2 +++ b/src/share/vm/memory/binaryTreeDictionary.cpp	Mon Nov 26 12:31:03 2012 -0500
     1.3 @@ -290,7 +290,7 @@
     1.4    assert(chunk->list() == this, "list should be set for chunk");
     1.5    assert(tail() != NULL, "The tree list is embedded in the first chunk");
     1.6    // which means that the list can never be empty.
     1.7 -  assert(!verify_chunk_in_free_list(chunk), "Double entry");
     1.8 +  assert(!this->verify_chunk_in_free_list(chunk), "Double entry");
     1.9    assert(head() == NULL || head()->prev() == NULL, "list invariant");
    1.10    assert(tail() == NULL || tail()->next() == NULL, "list invariant");
    1.11  
    1.12 @@ -300,7 +300,7 @@
    1.13  
    1.14    assert(!tail() || size() == tail()->size(), "Wrong sized chunk in list");
    1.15    FreeList_t<Chunk_t>::increment_count();
    1.16 -  debug_only(increment_returned_bytes_by(chunk->size()*sizeof(HeapWord));)
    1.17 +  debug_only(this->increment_returned_bytes_by(chunk->size()*sizeof(HeapWord));)
    1.18    assert(head() == NULL || head()->prev() == NULL, "list invariant");
    1.19    assert(tail() == NULL || tail()->next() == NULL, "list invariant");
    1.20  }
    1.21 @@ -314,7 +314,7 @@
    1.22    assert(chunk->list() == this, "list should be set for chunk");
    1.23    assert(head() != NULL, "The tree list is embedded in the first chunk");
    1.24    assert(chunk != NULL, "returning NULL chunk");
    1.25 -  assert(!verify_chunk_in_free_list(chunk), "Double entry");
    1.26 +  assert(!this->verify_chunk_in_free_list(chunk), "Double entry");
    1.27    assert(head() == NULL || head()->prev() == NULL, "list invariant");
    1.28    assert(tail() == NULL || tail()->next() == NULL, "list invariant");
    1.29  
    1.30 @@ -328,7 +328,7 @@
    1.31    head()->link_after(chunk);
    1.32    assert(!head() || size() == head()->size(), "Wrong sized chunk in list");
    1.33    FreeList_t<Chunk_t>::increment_count();
    1.34 -  debug_only(increment_returned_bytes_by(chunk->size()*sizeof(HeapWord));)
    1.35 +  debug_only(this->increment_returned_bytes_by(chunk->size()*sizeof(HeapWord));)
    1.36    assert(head() == NULL || head()->prev() == NULL, "list invariant");
    1.37    assert(tail() == NULL || tail()->next() == NULL, "list invariant");
    1.38  }

mercurial