Mercurial > hg > truffle
comparison src/share/vm/memory/freeBlockDictionary.cpp @ 6028:f69a5d43dc19
7164144: Fix variable naming style in freeBlockDictionary.* and binaryTreeDictionary*
Summary: Fix naming style to be consistent with the predominant hotspot style.
Reviewed-by: ysr, brutisso
author | jmasa |
---|---|
date | Wed, 25 Apr 2012 09:55:55 -0700 |
parents | 9f059abe8cf2 |
children | b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
6026:9f059abe8cf2 | 6028:f69a5d43dc19 |
---|---|
50 } | 50 } |
51 | 51 |
52 template <class Chunk> void FreeBlockDictionary<Chunk>::verify_par_locked() const { | 52 template <class Chunk> void FreeBlockDictionary<Chunk>::verify_par_locked() const { |
53 #ifdef ASSERT | 53 #ifdef ASSERT |
54 if (ParallelGCThreads > 0) { | 54 if (ParallelGCThreads > 0) { |
55 Thread* myThread = Thread::current(); | 55 Thread* my_thread = Thread::current(); |
56 if (myThread->is_GC_task_thread()) { | 56 if (my_thread->is_GC_task_thread()) { |
57 assert(par_lock() != NULL, "Should be using locking?"); | 57 assert(par_lock() != NULL, "Should be using locking?"); |
58 assert_lock_strong(par_lock()); | 58 assert_lock_strong(par_lock()); |
59 } | 59 } |
60 } | 60 } |
61 #endif // ASSERT | 61 #endif // ASSERT |