< prev index next >

src/hotspot/share/interpreter/templateInterpreter.cpp

Print this page

  1 /*
  2  * Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
  3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  4  *
  5  * This code is free software; you can redistribute it and/or modify it
  6  * under the terms of the GNU General Public License version 2 only, as
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 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  *

195 bool DispatchTable::operator == (DispatchTable& y) {
196   int i = length;
197   while (i-- > 0) {
198     EntryPoint t = y.entry(i); // for compiler compatibility (BugId 4150096)
199     if (!(entry(i) == t)) return false;
200   }
201   return true;
202 }
203 
204 address    TemplateInterpreter::_remove_activation_entry                    = nullptr;
205 address    TemplateInterpreter::_remove_activation_preserving_args_entry    = nullptr;
206 
207 
208 address    TemplateInterpreter::_throw_ArrayIndexOutOfBoundsException_entry = nullptr;
209 address    TemplateInterpreter::_throw_ArrayStoreException_entry            = nullptr;
210 address    TemplateInterpreter::_throw_ArithmeticException_entry            = nullptr;
211 address    TemplateInterpreter::_throw_ClassCastException_entry             = nullptr;
212 address    TemplateInterpreter::_throw_NullPointerException_entry           = nullptr;
213 address    TemplateInterpreter::_throw_StackOverflowError_entry             = nullptr;
214 address    TemplateInterpreter::_throw_exception_entry                      = nullptr;

215 
216 #ifndef PRODUCT
217 EntryPoint TemplateInterpreter::_trace_code;
218 #endif // !PRODUCT
219 EntryPoint TemplateInterpreter::_return_entry[TemplateInterpreter::number_of_return_entries];
220 EntryPoint TemplateInterpreter::_earlyret_entry;
221 EntryPoint TemplateInterpreter::_deopt_entry [TemplateInterpreter::number_of_deopt_entries ];
222 address    TemplateInterpreter::_deopt_reexecute_return_entry;
223 EntryPoint TemplateInterpreter::_safept_entry;
224 
225 address TemplateInterpreter::_invoke_return_entry[TemplateInterpreter::number_of_return_addrs];
226 address TemplateInterpreter::_invokeinterface_return_entry[TemplateInterpreter::number_of_return_addrs];
227 address TemplateInterpreter::_invokedynamic_return_entry[TemplateInterpreter::number_of_return_addrs];
228 
229 DispatchTable TemplateInterpreter::_active_table;
230 DispatchTable TemplateInterpreter::_normal_table;
231 DispatchTable TemplateInterpreter::_safept_table;
232 address    TemplateInterpreter::_wentry_point[DispatchTable::length];
233 
234 

  1 /*
  2  * Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
  3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  4  *
  5  * This code is free software; you can redistribute it and/or modify it
  6  * under the terms of the GNU General Public License version 2 only, as
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 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  *

195 bool DispatchTable::operator == (DispatchTable& y) {
196   int i = length;
197   while (i-- > 0) {
198     EntryPoint t = y.entry(i); // for compiler compatibility (BugId 4150096)
199     if (!(entry(i) == t)) return false;
200   }
201   return true;
202 }
203 
204 address    TemplateInterpreter::_remove_activation_entry                    = nullptr;
205 address    TemplateInterpreter::_remove_activation_preserving_args_entry    = nullptr;
206 
207 
208 address    TemplateInterpreter::_throw_ArrayIndexOutOfBoundsException_entry = nullptr;
209 address    TemplateInterpreter::_throw_ArrayStoreException_entry            = nullptr;
210 address    TemplateInterpreter::_throw_ArithmeticException_entry            = nullptr;
211 address    TemplateInterpreter::_throw_ClassCastException_entry             = nullptr;
212 address    TemplateInterpreter::_throw_NullPointerException_entry           = nullptr;
213 address    TemplateInterpreter::_throw_StackOverflowError_entry             = nullptr;
214 address    TemplateInterpreter::_throw_exception_entry                      = nullptr;
215 address    TemplateInterpreter::_cont_resume_interpreter_adapter            = nullptr;
216 
217 #ifndef PRODUCT
218 EntryPoint TemplateInterpreter::_trace_code;
219 #endif // !PRODUCT
220 EntryPoint TemplateInterpreter::_return_entry[TemplateInterpreter::number_of_return_entries];
221 EntryPoint TemplateInterpreter::_earlyret_entry;
222 EntryPoint TemplateInterpreter::_deopt_entry [TemplateInterpreter::number_of_deopt_entries ];
223 address    TemplateInterpreter::_deopt_reexecute_return_entry;
224 EntryPoint TemplateInterpreter::_safept_entry;
225 
226 address TemplateInterpreter::_invoke_return_entry[TemplateInterpreter::number_of_return_addrs];
227 address TemplateInterpreter::_invokeinterface_return_entry[TemplateInterpreter::number_of_return_addrs];
228 address TemplateInterpreter::_invokedynamic_return_entry[TemplateInterpreter::number_of_return_addrs];
229 
230 DispatchTable TemplateInterpreter::_active_table;
231 DispatchTable TemplateInterpreter::_normal_table;
232 DispatchTable TemplateInterpreter::_safept_table;
233 address    TemplateInterpreter::_wentry_point[DispatchTable::length];
234 
235 
< prev index next >