hotspot/src/share/vm/runtime/stubCodeGenerator.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File jdk9-opensource-openjdk Sdiff hotspot/src/share/vm/runtime

hotspot/src/share/vm/runtime/stubCodeGenerator.cpp

Print this page




   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  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "asm/macroAssembler.hpp"
  27 #include "asm/macroAssembler.inline.hpp"
  28 #include "code/codeCache.hpp"
  29 #include "code/codeCacheExtensions.hpp"
  30 #include "compiler/disassembler.hpp"
  31 #include "oops/oop.inline.hpp"
  32 #include "prims/forte.hpp"
  33 #include "runtime/stubCodeGenerator.hpp"
  34 
  35 
  36 // Implementation of StubCodeDesc
  37 
  38 StubCodeDesc* StubCodeDesc::_list = NULL;
  39 bool          StubCodeDesc::_frozen = false;
  40 
  41 StubCodeDesc* StubCodeDesc::desc_for(address pc) {
  42   StubCodeDesc* p = _list;
  43   while (p != NULL && !p->contains(pc)) {
  44     p = p->_next;
  45   }
  46   return p;
  47 }
  48 
  49 const char* StubCodeDesc::name_for(address pc) {




   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  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "asm/macroAssembler.hpp"
  27 #include "asm/macroAssembler.inline.hpp"
  28 #include "code/codeCache.hpp"

  29 #include "compiler/disassembler.hpp"
  30 #include "oops/oop.inline.hpp"
  31 #include "prims/forte.hpp"
  32 #include "runtime/stubCodeGenerator.hpp"
  33 
  34 
  35 // Implementation of StubCodeDesc
  36 
  37 StubCodeDesc* StubCodeDesc::_list = NULL;
  38 bool          StubCodeDesc::_frozen = false;
  39 
  40 StubCodeDesc* StubCodeDesc::desc_for(address pc) {
  41   StubCodeDesc* p = _list;
  42   while (p != NULL && !p->contains(pc)) {
  43     p = p->_next;
  44   }
  45   return p;
  46 }
  47 
  48 const char* StubCodeDesc::name_for(address pc) {


hotspot/src/share/vm/runtime/stubCodeGenerator.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File