< prev index next >

src/hotspot/share/runtime/continuationFreezeThaw.cpp

Print this page
@@ -72,10 +72,13 @@
  #include "runtime/vframe_hp.hpp"
  #include "utilities/debug.hpp"
  #include "utilities/exceptions.hpp"
  #include "utilities/macros.hpp"
  #include "utilities/vmError.hpp"
+ #if INCLUDE_SHENANDOAHGC
+ #include "gc/shenandoah/shenandoahStackChunkGCData.inline.hpp"
+ #endif
  #if INCLUDE_ZGC
  #include "gc/z/zStackChunkGCData.inline.hpp"
  #endif
  #if INCLUDE_JFR
  #include "jfr/jfr.inline.hpp"

@@ -1612,10 +1615,11 @@
      _barriers = false;
    } else
  #endif
  #if INCLUDE_SHENANDOAHGC
    if (UseShenandoahGC) {
+     ShenandoahStackChunkGCData::initialize(chunk);
      _barriers = chunk->requires_barriers();
    } else
  #endif
    {
      if (!allocator.took_slow_path()) {
< prev index next >