src/hotspot/share/interpreter/bytecodeInterpreter.cpp
changeset 59069 e0d59f0c2b7d
parent 58177 4932dce35882
child 59252 623722a6aeb9
equal deleted inserted replaced
59068:dc45ed0ab083 59069:e0d59f0c2b7d
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     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
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
  2460 
  2460 
  2461         Method* method = cache->f1_as_method();
  2461         Method* method = cache->f1_as_method();
  2462         if (VerifyOops) method->verify();
  2462         if (VerifyOops) method->verify();
  2463 
  2463 
  2464         if (cache->has_appendix()) {
  2464         if (cache->has_appendix()) {
  2465           ConstantPool* constants = METHOD->constants();
  2465           constantPoolHandle cp(THREAD, METHOD->constants());
  2466           SET_STACK_OBJECT(cache->appendix_if_resolved(constants), 0);
  2466           SET_STACK_OBJECT(cache->appendix_if_resolved(cp), 0);
  2467           MORE_STACK(1);
  2467           MORE_STACK(1);
  2468         }
  2468         }
  2469 
  2469 
  2470         istate->set_msg(call_method);
  2470         istate->set_msg(call_method);
  2471         istate->set_callee(method);
  2471         istate->set_callee(method);
  2491 
  2491 
  2492         Method* method = cache->f1_as_method();
  2492         Method* method = cache->f1_as_method();
  2493         if (VerifyOops) method->verify();
  2493         if (VerifyOops) method->verify();
  2494 
  2494 
  2495         if (cache->has_appendix()) {
  2495         if (cache->has_appendix()) {
  2496           ConstantPool* constants = METHOD->constants();
  2496           constantPoolHandle cp(THREAD, METHOD->constants());
  2497           SET_STACK_OBJECT(cache->appendix_if_resolved(constants), 0);
  2497           SET_STACK_OBJECT(cache->appendix_if_resolved(cp), 0);
  2498           MORE_STACK(1);
  2498           MORE_STACK(1);
  2499         }
  2499         }
  2500 
  2500 
  2501         istate->set_msg(call_method);
  2501         istate->set_msg(call_method);
  2502         istate->set_callee(method);
  2502         istate->set_callee(method);