< prev index next >

src/hotspot/share/runtime/continuationEntry.cpp

Print this page
@@ -109,13 +109,15 @@
    values.describe(frame_no, (intptr_t*)(usp + in_bytes(ContinuationEntry::parent_cont_fastpath_offset())),      "parent fastpath");
  }
  #endif
  
  #ifdef ASSERT
- bool ContinuationEntry::assert_entry_frame_laid_out(JavaThread* thread) {
+ bool ContinuationEntry::assert_entry_frame_laid_out(JavaThread* thread, bool preempted) {
    assert(thread->has_last_Java_frame(), "Wrong place to use this assertion");
  
+   if (preempted) return true;
+ 
    ContinuationEntry* entry = thread->last_continuation();
    assert(entry != nullptr, "");
  
    intptr_t* unextended_sp = entry->entry_sp();
    intptr_t* sp;
< prev index next >