< prev index next >

src/hotspot/share/code/relocInfo.hpp

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 1997, 2025, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 1997, 2026, Oracle and/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.

@@ -265,12 +265,11 @@
      metadata_type           = 12, // metadata that used to be oops
      trampoline_stub_type    = 13, // stub-entry for trampoline
      runtime_call_w_cp_type  = 14, // Runtime call which may load its target from the constant pool
      data_prefix_tag         = 15, // tag for a prefix (carries data arguments)
      post_call_nop_type      = 16, // A tag for post call nop relocations
-     entry_guard_type        = 17, // A tag for an nmethod entry barrier guard value
-     barrier_type            = 18, // GC barrier data
+     barrier_type            = 17, // GC barrier data
      type_mask               = 31  // A mask which selects only the above values
    };
  
   private:
    unsigned short _value;

@@ -307,11 +306,10 @@
      visitor(poll) \
      visitor(poll_return) \
      visitor(section_word) \
      visitor(trampoline_stub) \
      visitor(post_call_nop) \
-     visitor(entry_guard) \
      visitor(barrier) \
  
  
   public:
    enum : unsigned short{

@@ -922,23 +920,10 @@
    }
  
    void copy_into(RelocationHolder& holder) const override;
  };
  
- class entry_guard_Relocation : public Relocation {
-   friend class RelocationHolder;
- 
- public:
-   entry_guard_Relocation() : Relocation(relocInfo::entry_guard_type) { }
- 
-   static RelocationHolder spec() {
-     return RelocationHolder::construct<entry_guard_Relocation>();
-   }
- 
-   void copy_into(RelocationHolder& holder) const override;
- };
- 
  // A CallRelocation always points at a call instruction.
  // It is PC-relative on most machines.
  class CallRelocation : public Relocation {
   public:
    CallRelocation(relocInfo::relocType type) : Relocation(type) { }
< prev index next >