< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahOopClosures.inline.hpp

Print this page
*** 1,7 ***
--- 1,8 ---
  /*
   * Copyright (c) 2015, 2021, Red Hat, Inc. All rights reserved.
+  * Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

*** 30,11 ***
  #include "gc/shenandoah/shenandoahHeap.inline.hpp"
  #include "gc/shenandoah/shenandoahMark.inline.hpp"
  
  template<class T, ShenandoahGenerationType GENERATION>
  inline void ShenandoahMarkRefsSuperClosure::work(T* p) {
!   ShenandoahMark::mark_through_ref<T, GENERATION>(p, _queue, _mark_context, _weak);
  }
  
  template<class T, ShenandoahGenerationType GENERATION>
  inline void ShenandoahMarkUpdateRefsSuperClosure::work(T* p) {
    // Update the location
--- 31,11 ---
  #include "gc/shenandoah/shenandoahHeap.inline.hpp"
  #include "gc/shenandoah/shenandoahMark.inline.hpp"
  
  template<class T, ShenandoahGenerationType GENERATION>
  inline void ShenandoahMarkRefsSuperClosure::work(T* p) {
!   ShenandoahMark::mark_through_ref<T, GENERATION>(p, _queue, _old_queue, _mark_context, _weak);
  }
  
  template<class T, ShenandoahGenerationType GENERATION>
  inline void ShenandoahMarkUpdateRefsSuperClosure::work(T* p) {
    // Update the location
< prev index next >