Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/debugInfoRec.cpp @ 6266:1d7922586cf6
7023639: JSR 292 method handle invocation needs a fast path for compiled code
6984705: JSR 292 method handle creation should not go through JNI
Summary: remove assembly code for JDK 7 chained method handles
Reviewed-by: jrose, twisti, kvn, mhaupt
Contributed-by: John Rose <john.r.rose@oracle.com>, Christian Thalinger <christian.thalinger@oracle.com>, Michael Haupt <michael.haupt@oracle.com>
author | twisti |
---|---|
date | Tue, 24 Jul 2012 10:51:00 -0700 |
parents | f95d63e2154a |
children | 957c266d8bc5 da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6241:aba91a731143 | 6266:1d7922586cf6 |
---|---|
309 stream()->write_int(oop_recorder()->find_index(method_enc)); | 309 stream()->write_int(oop_recorder()->find_index(method_enc)); |
310 stream()->write_bci(bci); | 310 stream()->write_bci(bci); |
311 assert(method == NULL || | 311 assert(method == NULL || |
312 (method->is_native() && bci == 0) || | 312 (method->is_native() && bci == 0) || |
313 (!method->is_native() && 0 <= bci && bci < method->code_size()) || | 313 (!method->is_native() && 0 <= bci && bci < method->code_size()) || |
314 (method->is_compiled_lambda_form() && bci == -99) || // this might happen in C1 | |
314 bci == -1, "illegal bci"); | 315 bci == -1, "illegal bci"); |
315 | 316 |
316 // serialize the locals/expressions/monitors | 317 // serialize the locals/expressions/monitors |
317 stream()->write_int((intptr_t) locals); | 318 stream()->write_int((intptr_t) locals); |
318 stream()->write_int((intptr_t) expressions); | 319 stream()->write_int((intptr_t) expressions); |