< prev index next >

src/os/solaris/vm/osThread_solaris.cpp

Print this page
rev 8802 : G1 performance improvements: card batching, joining, sorting, prefetching and write barrier fence elision and simplification based on a global syncrhonization using handshakes piggybacking on thread-local safepoints.

@@ -49,5 +49,10 @@
 // copied from synchronizer.cpp
 
 void OSThread::SR_handler(Thread* thread, ucontext_t* uc) {
   os::Solaris::SR_handler(thread, uc);
 }
+
+bool OSThread::is_online() {
+  // TODO: Solaris can do better: find out if a thread is ONPROC.
+  return true;
+}
< prev index next >