src/share/vm/opto/runtime.hpp

Print this page
rev 6670 : 8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes


  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_OPTO_RUNTIME_HPP
  26 #define SHARE_VM_OPTO_RUNTIME_HPP
  27 
  28 #include "code/codeBlob.hpp"
  29 #include "opto/machnode.hpp"

  30 #include "opto/type.hpp"
  31 #include "runtime/biasedLocking.hpp"
  32 #include "runtime/rtmLocking.hpp"
  33 #include "runtime/deoptimization.hpp"
  34 #include "runtime/vframe.hpp"
  35 
  36 //------------------------------OptoRuntime------------------------------------
  37 // Opto compiler runtime routines
  38 //
  39 // These are all generated from Ideal graphs.  They are called with the
  40 // Java calling convention.  Internally they call C++.  They are made once at
  41 // startup time and Opto compiles calls to them later.
  42 // Things are broken up into quads: the signature they will be called with,
  43 // the address of the generated code, the corresponding C++ code and an
  44 // nmethod.
  45 
  46 // The signature (returned by "xxx_Type()") is used at startup time by the
  47 // Generator to make the generated code "xxx_Java".  Opto compiles calls
  48 // to the generated code "xxx_Java".  When the compiled code gets executed,
  49 // it calls the C++ code "xxx_C".  The generated nmethod is saved in the




  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_OPTO_RUNTIME_HPP
  26 #define SHARE_VM_OPTO_RUNTIME_HPP
  27 
  28 #include "code/codeBlob.hpp"
  29 #include "opto/machnode.hpp"
  30 #include "opto/optoreg.hpp"
  31 #include "opto/type.hpp"
  32 #include "runtime/biasedLocking.hpp"
  33 #include "runtime/rtmLocking.hpp"
  34 #include "runtime/deoptimization.hpp"
  35 #include "runtime/vframe.hpp"
  36 
  37 //------------------------------OptoRuntime------------------------------------
  38 // Opto compiler runtime routines
  39 //
  40 // These are all generated from Ideal graphs.  They are called with the
  41 // Java calling convention.  Internally they call C++.  They are made once at
  42 // startup time and Opto compiles calls to them later.
  43 // Things are broken up into quads: the signature they will be called with,
  44 // the address of the generated code, the corresponding C++ code and an
  45 // nmethod.
  46 
  47 // The signature (returned by "xxx_Type()") is used at startup time by the
  48 // Generator to make the generated code "xxx_Java".  Opto compiles calls
  49 // to the generated code "xxx_Java".  When the compiled code gets executed,
  50 // it calls the C++ code "xxx_C".  The generated nmethod is saved in the