Searched refs:code_size (Results 1 - 25 of 68) sorted by relevance

123

/openjdk7/hotspot/src/share/vm/runtime/
H A DsimpleThresholdPolicy.inline.hpp61 (method->code_size() < 5 || (mdo->num_blocks() < 4) && (method->code_size() < 15))) {
H A Drframe.cpp122 return _method->code_size(); // fix this
131 return top_method()->code_size();
H A DcompilationPolicy.cpp110 if (DontCompileHugeMethods && m->code_size() > HugeMethodLimit) return false;
442 tty->print(" ( interpreted " INTPTR_FORMAT ", size=%d ) ", (address)m(), m->code_size());
579 tty->print(" ( interpreted " INTPTR_FORMAT ", size=%d ) ", (address)next_m(), next_m->code_size());
604 int cost = m->code_size();
633 if (m_code != NULL && m_code->code_size() > InlineSmallCode)
637 if (m->code_size() <= MaxTrivialSize) return NULL;
/openjdk7/hotspot/src/share/vm/interpreter/
H A Dinterpreter.hpp61 static int code_size_to_size(int code_size) { return round_to(sizeof(InterpreterCodelet), CodeEntryAlignment) + code_size; } argument
76 int code_size() const { return code_end() - code_begin(); } function in class:InterpreterCodelet
114 _cb(_clet->code_begin(), _clet->code_size())
H A DbytecodeStream.hpp80 set_interval(0, _method->code_size());
88 assert(0 <= beg_bci && beg_bci <= method()->code_size(), "illegal beg_bci");
89 assert(0 <= end_bci && end_bci <= method()->code_size(), "illegal end_bci");
96 set_interval(beg_bci, _method->code_size());
117 void set_next_bci(int bci) { assert(0 <= bci && bci <= method()->code_size(), "illegal bci"); _next_bci = bci; }
H A DcppInterpreter.cpp41 int code_size = InterpreterCodeSize; local
42 NOT_PRODUCT(code_size *= 4;) // debug uses extra interpreter code space
43 _code = new StubQueue(new InterpreterCodeletInterface, code_size, NULL,
H A DtemplateInterpreter.cpp48 int code_size = InterpreterCodeSize; local
49 NOT_PRODUCT(code_size *= 4;) // debug uses extra interpreter code space
50 _code = new StubQueue(new InterpreterCodeletInterface, code_size, NULL,
/openjdk7/hotspot/src/share/vm/oops/
H A DconstMethodOop.hpp47 // | interp_kind | flags | code_size |
245 static int object_size(int code_size, int compressed_line_number_size,
256 int code_size() const { return _code_size; } function in class:constMethodOopDesc
285 if (code_size() > 0) {
286 memcpy(code_base(), code, code_size());
290 address code_end() const { return code_base() + code_size(); }
H A DconstMethodOop.cpp35 int constMethodOopDesc::object_size(int code_size, argument
40 int extra_bytes = code_size;
H A DmethodOop.cpp195 // code_size() may return 0 and we allow 0 here
199 if (bcx < code_size()) {
211 assert((is_native() && bci == 0) || (!is_native() && 0 <= bci && bci < code_size()), "illegal bci");
286 tty->print(" {%d}", code_size());
355 return code_size() == 1
384 int size = code_size();
460 if (code_size() != 5) return false;
509 assert(bci == 0 || 0 <= bci && bci < code_size(), "illegal bci");
629 int size = this->code_size();
1067 assert(newm->code_size()
[all...]
H A DmethodKlass.cpp247 st->print_cr(" - code size: %d", m->code_size());
248 if (m->code_size() != 0) {
250 st->print_cr(" - code end (excl): " INTPTR_FORMAT, m->code_base() + m->code_size());
/openjdk7/hotspot/src/share/vm/code/
H A Dstubs.hpp81 static int code_size_to_size(int code_size) { ShouldNotCallThis(); return 0; } // computes the size given the code size argument
115 virtual int code_size_to_size(int code_size) const = 0; // computes the total stub size in bytes given the code size in bytes
144 virtual int code_size_to_size(int code_size) const { return stub::code_size_to_size(code_size); } \
183 int stub_code_size_to_size(int code_size) const { return _stub_interface->code_size_to_size(code_size); }
206 Stub* request_committed(int code_size); // request a stub that provides exactly code_size space for code
H A DicBuffer.hpp58 static int code_size_to_size(int code_size) { return round_to(sizeof(ICStub), CodeEntryAlignment) + code_size; } argument
H A Dstubs.cpp102 Stub* StubQueue::request_committed(int code_size) { argument
103 Stub* s = request(code_size);
105 if (s != NULL) commit(code_size, strings);
H A DcodeCache.cpp55 int code_size; member in class:CodeBlob_sizes
67 code_size = 0;
85 code_size * 100 / total_size,
99 code_size += nm->insts_size();
106 code_size += cb->code_size();
941 int code_size = 0; local
948 code_size += p->code_size();
958 tty->print_cr(" code size = %d", code_size);
[all...]
H A DvtableStubs.hpp49 void* operator new(size_t size, int code_size);
H A DvtableStubs.cpp52 void* VtableStub::operator new(size_t size, int code_size) { argument
56 const int real_size = round_to(code_size + sizeof(VtableStub), wordSize);
/openjdk7/hotspot/src/share/vm/asm/
H A DcodeBuffer.hpp349 void initialize(address code_start, csize_t code_size) { argument
354 _total_size = code_size;
356 _insts.initialize(code_start, code_size);
394 CodeBuffer(address code_start, csize_t code_size) { argument
397 initialize(code_start, code_size);
413 // info. The name must be something informative and code_size must
415 CodeBuffer(const char* name, csize_t code_size, csize_t locs_size) { argument
417 initialize(code_size, locs_size);
426 void initialize(csize_t code_size, csize_t locs_size);
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiClassFileReconstituter.cpp196 int code_size = const_method->code_size(); local
199 code_size + // code
209 write_u4(code_size);
210 copy_bytecodes(method, (unsigned char*)writeable_address(code_size));
463 if (const_method->code_size() != 0) {
487 if (const_method->code_size() > 0) {
H A DmethodComparator.cpp42 if (old_method->code_size() != new_method->code_size())
74 if (old_method->code_size() > new_method->code_size())
/openjdk7/hotspot/src/share/vm/ci/
H A DciMethod.hpp113 assert(0 <= bci && bci < code_size(), "valid bci");
155 int code_size() const { check_is_loaded(); return _code_size; } function in class:ciMethod
H A DciMethodBlocks.cpp112 int limit_bci = _method->code_size();
255 _arena(arena), _num_blocks(0), _code_size(meth->code_size()) {
H A DciMethod.cpp80 _code_size = h_m()->code_size();
187 _code = (address)arena->Amalloc(code_size());
188 memcpy(_code, me->code_base(), code_size());
224 new (arena) ciExceptionHandler(holder(), 0, code_size(), -1, 0);
1031 return code_size();
1038 // with InlineSmallCode. The CodeBlob::code_size accessor includes
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileBroker.cpp416 st->print(" (%d bytes)", method->code_size());
459 st->print(" (%d bytes)", method->code_size());
1186 assert(osr_bci == InvocationEntryBci || (0 <= osr_bci && osr_bci < method->code_size()), "bci out of range");
1834 int code_size = (task->code() == NULL) ? 0 : task->code()->total_size(); local
1835 tty->print_cr("size: %d time: %d inlined: %d bytes", code_size, (int)time.milliseconds(), task->num_inlined_bytecodes());
2061 _sum_osr_bytes_compiled += method->code_size() + task->num_inlined_bytecodes();
2064 _sum_standard_bytes_compiled += method->code_size() + task->num_inlined_bytecodes();
2072 _perf_last_compile_size->set_value(method->code_size() +
2076 _perf_sum_osr_bytes_compiled->inc(method->code_size() + task->num_inlined_bytecodes());
2079 _perf_sum_standard_bytes_compiled->inc(method->code_size()
[all...]
H A DmethodLiveness.cpp132 : _bci_block_start((uintptr_t*)arena->Amalloc((method->code_size() >> LogBitsPerByte) + 1), method->code_size())
174 _total_bytes += method()->code_size();
204 int method_len = method()->code_size();
482 assert( 0 <= bci && bci < method()->code_size(), "bci out of range" );

Completed in 2950 milliseconds

123