diff 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
line wrap: on
line diff
--- a/src/share/vm/code/stubs.cpp	Wed Feb 06 15:14:15 2013 +0100
+++ b/src/share/vm/code/stubs.cpp	Wed Feb 06 18:01:07 2013 -0800
@@ -254,7 +254,7 @@
   guarantee(_queue_begin != _queue_end || n == 0, "buffer indices must be the same");
 }
 
-void StubQueue::print_on(outputStream* st) {
+void StubQueue::print_on(outputStream* st) const {
   MutexLockerEx lock(_mutex);
   for (Stub* s = first(); s != NULL; s = next(s)) {
     stub_print(s, st);