src/hotspot/cpu/s390/relocInfo_s390.hpp
changeset 48486 bda5211e7876
parent 47216 71c04702a3d5
child 53244 9807daeb47c4
equal deleted inserted replaced
48485:258a4dab74a7 48486:bda5211e7876
     1 /*
     1 /*
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2016 SAP SE. All rights reserved.
     3  * Copyright (c) 2016, 2018 SAP SE. All rights reserved.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
     8  * published by the Free Software Foundation.
     8  * published by the Free Software Foundation.
   108                               // Similar to relocInfo::narrow_oop_in_const.
   108                               // Similar to relocInfo::narrow_oop_in_const.
   109     pcrel_addr_format   = 2,  // Relocation is for the target LOCATION of a pc-relative instruction.
   109     pcrel_addr_format   = 2,  // Relocation is for the target LOCATION of a pc-relative instruction.
   110     pcrel_data_format   = 3   // Relocation is for the target data of a pc-relative instruction.
   110     pcrel_data_format   = 3   // Relocation is for the target data of a pc-relative instruction.
   111   };
   111   };
   112 
   112 
       
   113   // This platform has no oops in the code that are not also
       
   114   // listed in the oop section.
       
   115   static bool mustIterateImmediateOopsInCode() { return false; }
       
   116 
   113   // Store the new target address into an oop_Relocation cell, if any.
   117   // Store the new target address into an oop_Relocation cell, if any.
   114   // Return indication if update happened.
   118   // Return indication if update happened.
   115   static bool update_oop_pool(address begin, address end, address newTarget, CodeBlob* cb);
   119   static bool update_oop_pool(address begin, address end, address newTarget, CodeBlob* cb);
   116 
   120 
   117 #endif // CPU_S390_VM_RELOCINFO_S390_HPP
   121 #endif // CPU_S390_VM_RELOCINFO_S390_HPP