hotspot/src/share/vm/gc/g1/g1HotCardCache.hpp
changeset 34633 2a6c7c7b30a7
parent 33204 b8a3901ac5b3
child 37057 03b3e1870228
--- a/hotspot/src/share/vm/gc/g1/g1HotCardCache.hpp	Fri Dec 04 04:29:31 2015 +0000
+++ b/hotspot/src/share/vm/gc/g1/g1HotCardCache.hpp	Fri Dec 04 04:06:37 2015 -0500
@@ -123,7 +123,7 @@
   // Resets the hot card cache and discards the entries.
   void reset_hot_cache() {
     assert(SafepointSynchronize::is_at_safepoint(), "Should be at a safepoint");
-    assert(Thread::current_noinline()->is_VM_thread(), "Current thread should be the VMthread");
+    assert(Thread::current()->is_VM_thread(), "Current thread should be the VMthread");
     if (default_use_cache()) {
         reset_hot_cache_internal();
     }