comparison src/share/vm/code/stubs.cpp @ 7735:a7a93887b4c4

fix Solaris build and initial SPARC support
author twisti
date Wed, 06 Feb 2013 18:01:07 -0800
parents 7d815d842ee0
children b8f261ba79c6
comparison
equal deleted inserted replaced
7734:a0cfabe195c6 7735:a7a93887b4c4
252 } 252 }
253 guarantee(n == number_of_stubs(), "number of stubs inconsistent"); 253 guarantee(n == number_of_stubs(), "number of stubs inconsistent");
254 guarantee(_queue_begin != _queue_end || n == 0, "buffer indices must be the same"); 254 guarantee(_queue_begin != _queue_end || n == 0, "buffer indices must be the same");
255 } 255 }
256 256
257 void StubQueue::print_on(outputStream* st) { 257 void StubQueue::print_on(outputStream* st) const {
258 MutexLockerEx lock(_mutex); 258 MutexLockerEx lock(_mutex);
259 for (Stub* s = first(); s != NULL; s = next(s)) { 259 for (Stub* s = first(); s != NULL; s = next(s)) {
260 stub_print(s, st); 260 stub_print(s, st);
261 } 261 }
262 } 262 }