src/hotspot/share/interpreter/templateInterpreter.hpp
author vromero
Mon, 08 Oct 2018 06:52:41 -0700
changeset 52038 957de5be48bc
parent 49364 601146c66cad
child 52908 449a2ce77784
permissions -rw-r--r--
8209407: VerifyError is thrown for inner class with lambda Reviewed-by: mcimadamore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
/*
49364
601146c66cad 8173070: Remove ValueObj class for allocation subclassing for runtime code
coleenp
parents: 47916
diff changeset
     2
 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
 * accompanied this code).
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
 *
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4429
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4429
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4429
diff changeset
    21
 * questions.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    22
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
 */
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    25
#ifndef SHARE_VM_INTERPRETER_TEMPLATEINTERPRETER_HPP
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    26
#define SHARE_VM_INTERPRETER_TEMPLATEINTERPRETER_HPP
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    27
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    28
#include "interpreter/abstractInterpreter.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    29
#include "interpreter/templateTable.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    30
2131
98f9cef66a34 6810672: Comment typos
twisti
parents: 1
diff changeset
    31
// This file contains the platform-independent parts
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    32
// of the template interpreter and the template interpreter generator.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    33
489c9b5090e2 Initial load
duke
parents:
diff changeset
    34
#ifndef CC_INTERP
489c9b5090e2 Initial load
duke
parents:
diff changeset
    35
25715
d5a8dbdc5150 8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories.
goetz
parents: 22234
diff changeset
    36
class InterpreterMacroAssembler;
35214
d86005e0b4c2 8074457: Remove the non-Zero CPP Interpreter
coleenp
parents: 31620
diff changeset
    37
class InterpreterCodelet;
25715
d5a8dbdc5150 8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories.
goetz
parents: 22234
diff changeset
    38
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    39
//------------------------------------------------------------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
    40
// A little wrapper class to group tosca-specific entry points into a unit.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    41
// (tosca = Top-Of-Stack CAche)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    42
49364
601146c66cad 8173070: Remove ValueObj class for allocation subclassing for runtime code
coleenp
parents: 47916
diff changeset
    43
class EntryPoint {
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    44
 private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    45
  address _entry[number_of_states];
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
489c9b5090e2 Initial load
duke
parents:
diff changeset
    47
 public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
  // Construction
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
  EntryPoint();
37480
291ee208fb72 8132051: Better byte behavior
coleenp
parents: 35479
diff changeset
    50
  EntryPoint(address bentry, address zentry, address centry, address sentry, address aentry, address ientry, address lentry, address fentry, address dentry, address ventry);
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    51
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
  // Attributes
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
  address entry(TosState state) const;                // return target address for a given tosca state
489c9b5090e2 Initial load
duke
parents:
diff changeset
    54
  void    set_entry(TosState state, address entry);   // set    target address for a given tosca state
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
  void    print();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    56
489c9b5090e2 Initial load
duke
parents:
diff changeset
    57
  // Comparison
489c9b5090e2 Initial load
duke
parents:
diff changeset
    58
  bool operator == (const EntryPoint& y);             // for debugging only
489c9b5090e2 Initial load
duke
parents:
diff changeset
    59
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
489c9b5090e2 Initial load
duke
parents:
diff changeset
    62
//------------------------------------------------------------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
    63
// A little wrapper class to group tosca-specific dispatch tables into a unit.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
49364
601146c66cad 8173070: Remove ValueObj class for allocation subclassing for runtime code
coleenp
parents: 47916
diff changeset
    65
class DispatchTable {
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
 public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
  enum { length = 1 << BitsPerByte };                 // an entry point for each byte value (also for undefined bytecodes)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    68
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
 private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    70
  address _table[number_of_states][length];           // dispatch tables, indexed by tosca and bytecode
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
 public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
  // Attributes
489c9b5090e2 Initial load
duke
parents:
diff changeset
    74
  EntryPoint entry(int i) const;                      // return entry point for a given bytecode i
489c9b5090e2 Initial load
duke
parents:
diff changeset
    75
  void       set_entry(int i, EntryPoint& entry);     // set    entry point for a given bytecode i
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
  address*   table_for(TosState state)          { return _table[state]; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
  address*   table_for()                        { return table_for((TosState)0); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
  int        distance_from(address *table)      { return table - table_for(); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
  int        distance_from(TosState state)      { return distance_from(table_for(state)); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
  // Comparison
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
  bool operator == (DispatchTable& y);                // for debugging only
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
class TemplateInterpreter: public AbstractInterpreter {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
  friend class VMStructs;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    87
  friend class InterpreterMacroAssembler;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
  friend class TemplateInterpreterGenerator;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
  friend class TemplateTable;
31620
53be635ad49c 8087333: Optionally Pre-Generate the HotSpot Template Interpreter
bdelsart
parents: 31389
diff changeset
    90
  friend class CodeCacheExtensions;
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    91
  // friend class Interpreter;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
 public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    93
489c9b5090e2 Initial load
duke
parents:
diff changeset
    94
  enum MoreConstants {
47916
bdbef8638948 8190817: deopt special-case for _return_register_finalizer is confusing and leads to bugs
dlong
parents: 47881
diff changeset
    95
    max_invoke_length = 5,    // invokedynamic is the longest
bdbef8638948 8190817: deopt special-case for _return_register_finalizer is confusing and leads to bugs
dlong
parents: 47881
diff changeset
    96
    max_bytecode_length = 6,  // worse case is wide iinc, "reexecute" bytecodes are excluded because "skip" will be 0
bdbef8638948 8190817: deopt special-case for _return_register_finalizer is confusing and leads to bugs
dlong
parents: 47881
diff changeset
    97
    number_of_return_entries  = max_invoke_length + 1,          // number of return entry points
bdbef8638948 8190817: deopt special-case for _return_register_finalizer is confusing and leads to bugs
dlong
parents: 47881
diff changeset
    98
    number_of_deopt_entries   = max_bytecode_length + 1,        // number of deoptimization entry points
2570
ecc7862946d4 6655646: dynamic languages need dynamically linked call sites
jrose
parents: 2534
diff changeset
    99
    number_of_return_addrs    = number_of_states                // number of return addresses
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   100
  };
489c9b5090e2 Initial load
duke
parents:
diff changeset
   101
489c9b5090e2 Initial load
duke
parents:
diff changeset
   102
 protected:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   103
489c9b5090e2 Initial load
duke
parents:
diff changeset
   104
  static address    _throw_ArrayIndexOutOfBoundsException_entry;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   105
  static address    _throw_ArrayStoreException_entry;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   106
  static address    _throw_ArithmeticException_entry;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   107
  static address    _throw_ClassCastException_entry;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   108
  static address    _throw_NullPointerException_entry;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   109
  static address    _throw_exception_entry;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   110
489c9b5090e2 Initial load
duke
parents:
diff changeset
   111
  static address    _throw_StackOverflowError_entry;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   112
489c9b5090e2 Initial load
duke
parents:
diff changeset
   113
  static address    _remove_activation_entry;                   // continuation address if an exception is not handled by current frame
489c9b5090e2 Initial load
duke
parents:
diff changeset
   114
#ifdef HOTSWAP
489c9b5090e2 Initial load
duke
parents:
diff changeset
   115
  static address    _remove_activation_preserving_args_entry;   // continuation address when current frame is being popped
489c9b5090e2 Initial load
duke
parents:
diff changeset
   116
#endif // HOTSWAP
489c9b5090e2 Initial load
duke
parents:
diff changeset
   117
489c9b5090e2 Initial load
duke
parents:
diff changeset
   118
#ifndef PRODUCT
489c9b5090e2 Initial load
duke
parents:
diff changeset
   119
  static EntryPoint _trace_code;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   120
#endif // !PRODUCT
489c9b5090e2 Initial load
duke
parents:
diff changeset
   121
  static EntryPoint _return_entry[number_of_return_entries];    // entry points to return to from a call
489c9b5090e2 Initial load
duke
parents:
diff changeset
   122
  static EntryPoint _earlyret_entry;                            // entry point to return early from a call
489c9b5090e2 Initial load
duke
parents:
diff changeset
   123
  static EntryPoint _deopt_entry[number_of_deopt_entries];      // entry points to return to from a deoptimization
47916
bdbef8638948 8190817: deopt special-case for _return_register_finalizer is confusing and leads to bugs
dlong
parents: 47881
diff changeset
   124
  static address    _deopt_reexecute_return_entry;
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   125
  static EntryPoint _safept_entry;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   126
21198
dd647e8d1d72 8026328: Setting a breakpoint on invokedynamic crashes the JVM
twisti
parents: 13728
diff changeset
   127
  static address _invoke_return_entry[number_of_return_addrs];           // for invokestatic, invokespecial, invokevirtual return entries
dd647e8d1d72 8026328: Setting a breakpoint on invokedynamic crashes the JVM
twisti
parents: 13728
diff changeset
   128
  static address _invokeinterface_return_entry[number_of_return_addrs];  // for invokeinterface return entries
dd647e8d1d72 8026328: Setting a breakpoint on invokedynamic crashes the JVM
twisti
parents: 13728
diff changeset
   129
  static address _invokedynamic_return_entry[number_of_return_addrs];    // for invokedynamic return entries
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   130
489c9b5090e2 Initial load
duke
parents:
diff changeset
   131
  static DispatchTable _active_table;                           // the active    dispatch table (used by the interpreter for dispatch)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   132
  static DispatchTable _normal_table;                           // the normal    dispatch table (used to set the active table in normal mode)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   133
  static DispatchTable _safept_table;                           // the safepoint dispatch table (used to set the active table for safepoints)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   134
  static address       _wentry_point[DispatchTable::length];    // wide instructions only (vtos tosca always)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   135
489c9b5090e2 Initial load
duke
parents:
diff changeset
   136
489c9b5090e2 Initial load
duke
parents:
diff changeset
   137
 public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   138
  // Initialization/debugging
489c9b5090e2 Initial load
duke
parents:
diff changeset
   139
  static void       initialize();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   140
  // this only returns whether a pc is within generated code for the interpreter.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   141
  static bool       contains(address pc)                        { return _code != NULL && _code->contains(pc); }
35214
d86005e0b4c2 8074457: Remove the non-Zero CPP Interpreter
coleenp
parents: 31620
diff changeset
   142
  // Debugging/printing
d86005e0b4c2 8074457: Remove the non-Zero CPP Interpreter
coleenp
parents: 31620
diff changeset
   143
  static InterpreterCodelet* codelet_containing(address pc);
d86005e0b4c2 8074457: Remove the non-Zero CPP Interpreter
coleenp
parents: 31620
diff changeset
   144
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   145
489c9b5090e2 Initial load
duke
parents:
diff changeset
   146
 public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   147
489c9b5090e2 Initial load
duke
parents:
diff changeset
   148
  static address    remove_activation_early_entry(TosState state) { return _earlyret_entry.entry(state); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   149
#ifdef HOTSWAP
489c9b5090e2 Initial load
duke
parents:
diff changeset
   150
  static address    remove_activation_preserving_args_entry()   { return _remove_activation_preserving_args_entry; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   151
#endif // HOTSWAP
489c9b5090e2 Initial load
duke
parents:
diff changeset
   152
489c9b5090e2 Initial load
duke
parents:
diff changeset
   153
  static address    remove_activation_entry()                   { return _remove_activation_entry; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   154
  static address    throw_exception_entry()                     { return _throw_exception_entry; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   155
  static address    throw_ArithmeticException_entry()           { return _throw_ArithmeticException_entry; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   156
  static address    throw_NullPointerException_entry()          { return _throw_NullPointerException_entry; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   157
  static address    throw_StackOverflowError_entry()            { return _throw_StackOverflowError_entry; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   158
489c9b5090e2 Initial load
duke
parents:
diff changeset
   159
  // Code generation
489c9b5090e2 Initial load
duke
parents:
diff changeset
   160
#ifndef PRODUCT
489c9b5090e2 Initial load
duke
parents:
diff changeset
   161
  static address    trace_code    (TosState state)              { return _trace_code.entry(state); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   162
#endif // !PRODUCT
489c9b5090e2 Initial load
duke
parents:
diff changeset
   163
  static address*   dispatch_table(TosState state)              { return _active_table.table_for(state); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   164
  static address*   dispatch_table()                            { return _active_table.table_for(); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   165
  static int        distance_from_dispatch_table(TosState state){ return _active_table.distance_from(state); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
  static address*   normal_table(TosState state)                { return _normal_table.table_for(state); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   167
  static address*   normal_table()                              { return _normal_table.table_for(); }
47881
0ce0ac68ace7 8189941: Implementation JEP 312: Thread-local handshake
rehn
parents: 47216
diff changeset
   168
  static address*   safept_table(TosState state)                { return _safept_table.table_for(state); }
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   169
489c9b5090e2 Initial load
duke
parents:
diff changeset
   170
  // Support for invokes
21198
dd647e8d1d72 8026328: Setting a breakpoint on invokedynamic crashes the JVM
twisti
parents: 13728
diff changeset
   171
  static address*   invoke_return_entry_table()                 { return _invoke_return_entry; }
dd647e8d1d72 8026328: Setting a breakpoint on invokedynamic crashes the JVM
twisti
parents: 13728
diff changeset
   172
  static address*   invokeinterface_return_entry_table()        { return _invokeinterface_return_entry; }
dd647e8d1d72 8026328: Setting a breakpoint on invokedynamic crashes the JVM
twisti
parents: 13728
diff changeset
   173
  static address*   invokedynamic_return_entry_table()          { return _invokedynamic_return_entry; }
dd647e8d1d72 8026328: Setting a breakpoint on invokedynamic crashes the JVM
twisti
parents: 13728
diff changeset
   174
  static int        TosState_as_index(TosState state);
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   175
21198
dd647e8d1d72 8026328: Setting a breakpoint on invokedynamic crashes the JVM
twisti
parents: 13728
diff changeset
   176
  static address* invoke_return_entry_table_for(Bytecodes::Code code);
dd647e8d1d72 8026328: Setting a breakpoint on invokedynamic crashes the JVM
twisti
parents: 13728
diff changeset
   177
dd647e8d1d72 8026328: Setting a breakpoint on invokedynamic crashes the JVM
twisti
parents: 13728
diff changeset
   178
  static address deopt_entry(TosState state, int length);
47916
bdbef8638948 8190817: deopt special-case for _return_register_finalizer is confusing and leads to bugs
dlong
parents: 47881
diff changeset
   179
  static address deopt_reexecute_return_entry()                 { return _deopt_reexecute_return_entry; }
21198
dd647e8d1d72 8026328: Setting a breakpoint on invokedynamic crashes the JVM
twisti
parents: 13728
diff changeset
   180
  static address return_entry(TosState state, int length, Bytecodes::Code code);
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   181
489c9b5090e2 Initial load
duke
parents:
diff changeset
   182
  // Safepoint support
489c9b5090e2 Initial load
duke
parents:
diff changeset
   183
  static void       notice_safepoints();                        // stops the thread when reaching a safepoint
489c9b5090e2 Initial load
duke
parents:
diff changeset
   184
  static void       ignore_safepoints();                        // ignores safepoints
489c9b5090e2 Initial load
duke
parents:
diff changeset
   185
489c9b5090e2 Initial load
duke
parents:
diff changeset
   186
  // Deoptimization support
3600
27aa4477d039 6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
cfang
parents: 2570
diff changeset
   187
  // Compute the entry address for continuation after
13728
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 8921
diff changeset
   188
  static address deopt_continue_after_entry(Method* method,
3600
27aa4477d039 6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
cfang
parents: 2570
diff changeset
   189
                                            address bcp,
27aa4477d039 6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
cfang
parents: 2570
diff changeset
   190
                                            int callee_parameters,
27aa4477d039 6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
cfang
parents: 2570
diff changeset
   191
                                            bool is_top_frame);
27aa4477d039 6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
cfang
parents: 2570
diff changeset
   192
  // Deoptimization should reexecute this bytecode
27aa4477d039 6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
cfang
parents: 2570
diff changeset
   193
  static bool    bytecode_should_reexecute(Bytecodes::Code code);
27aa4477d039 6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
cfang
parents: 2570
diff changeset
   194
  // Compute the address for reexecution
13728
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 8921
diff changeset
   195
  static address deopt_reexecute_entry(Method* method, address bcp);
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   196
35214
d86005e0b4c2 8074457: Remove the non-Zero CPP Interpreter
coleenp
parents: 31620
diff changeset
   197
  // Size of interpreter code.  Max size with JVMTI
d86005e0b4c2 8074457: Remove the non-Zero CPP Interpreter
coleenp
parents: 31620
diff changeset
   198
  static int InterpreterCodeSize;
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   199
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
   200
489c9b5090e2 Initial load
duke
parents:
diff changeset
   201
#endif // !CC_INTERP
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   202
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   203
#endif // SHARE_VM_INTERPRETER_TEMPLATEINTERPRETER_HPP