hotspot/src/cpu/sparc/vm/icBuffer_sparc.cpp
changeset 29081 c61eb4914428
parent 14631 526804361522
child 30764 fec48bf5a827
equal deleted inserted replaced
29080:a16b0d9a08f5 29081:c61eb4914428
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, 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.
    28 #include "gc_interface/collectedHeap.inline.hpp"
    28 #include "gc_interface/collectedHeap.inline.hpp"
    29 #include "interpreter/bytecodes.hpp"
    29 #include "interpreter/bytecodes.hpp"
    30 #include "memory/resourceArea.hpp"
    30 #include "memory/resourceArea.hpp"
    31 #include "nativeInst_sparc.hpp"
    31 #include "nativeInst_sparc.hpp"
    32 #include "oops/oop.inline.hpp"
    32 #include "oops/oop.inline.hpp"
    33 #include "oops/oop.inline2.hpp"
       
    34 
    33 
    35 int InlineCacheBuffer::ic_stub_code_size() {
    34 int InlineCacheBuffer::ic_stub_code_size() {
    36 #ifdef _LP64
    35 #ifdef _LP64
    37   if (TraceJumps) return 600 * wordSize;
    36   if (TraceJumps) return 600 * wordSize;
    38   return (NativeMovConstReg::instruction_size +  // sethi;add
    37   return (NativeMovConstReg::instruction_size +  // sethi;add