< prev index next >

src/hotspot/share/gc/shenandoah/mode/shenandoahPassiveMode.hpp

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2019, Red Hat, Inc. 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.
--- 1,7 ---
  /*
!  * Copyright (c) 2019, 2021, Red Hat, Inc. 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.

*** 28,12 ***
  #include "gc/shenandoah/mode/shenandoahMode.hpp"
  
  class ShenandoahPassiveMode : public ShenandoahMode {
  public:
    virtual void initialize_flags() const;
!   virtual ShenandoahHeuristics* initialize_heuristics() const;
- 
    virtual const char* name()     { return "Passive"; }
    virtual bool is_diagnostic()   { return true; }
    virtual bool is_experimental() { return false; }
  };
  
--- 28,11 ---
  #include "gc/shenandoah/mode/shenandoahMode.hpp"
  
  class ShenandoahPassiveMode : public ShenandoahMode {
  public:
    virtual void initialize_flags() const;
!   virtual ShenandoahHeuristics* initialize_heuristics(ShenandoahGeneration* generation) const;
    virtual const char* name()     { return "Passive"; }
    virtual bool is_diagnostic()   { return true; }
    virtual bool is_experimental() { return false; }
  };
  
< prev index next >