Mercurial > hg > graal-compiler
comparison src/share/vm/interpreter/bytecodes.hpp @ 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 | de847cac9235 |
children | 7f813940ac35 |
comparison
equal
deleted
inserted
replaced
6241:aba91a731143 | 6266:1d7922586cf6 |
---|---|
280 _fast_aldc , | 280 _fast_aldc , |
281 _fast_aldc_w , | 281 _fast_aldc_w , |
282 | 282 |
283 _return_register_finalizer , | 283 _return_register_finalizer , |
284 | 284 |
285 // special handling of signature-polymorphic methods: | |
286 _invokehandle , | |
287 | |
285 _shouldnotreachhere, // For debugging | 288 _shouldnotreachhere, // For debugging |
286 | 289 |
287 // Platform specific JVM bytecodes | 290 // Platform specific JVM bytecodes |
288 #ifdef TARGET_ARCH_x86 | 291 #ifdef TARGET_ARCH_x86 |
289 # include "bytecodes_x86.hpp" | 292 # include "bytecodes_x86.hpp" |
354 #endif | 357 #endif |
355 static bool check_must_rewrite(Bytecodes::Code bc); | 358 static bool check_must_rewrite(Bytecodes::Code bc); |
356 | 359 |
357 public: | 360 public: |
358 // Conversion | 361 // Conversion |
359 static void check (Code code) { assert(is_defined(code), "illegal code"); } | 362 static void check (Code code) { assert(is_defined(code), err_msg("illegal code: %d", (int)code)); } |
360 static void wide_check (Code code) { assert(wide_is_defined(code), "illegal code"); } | 363 static void wide_check (Code code) { assert(wide_is_defined(code), err_msg("illegal code: %d", (int)code)); } |
361 static Code cast (int code) { return (Code)code; } | 364 static Code cast (int code) { return (Code)code; } |
362 | 365 |
363 | 366 |
364 // Fetch a bytecode, hiding breakpoints as necessary. The method | 367 // Fetch a bytecode, hiding breakpoints as necessary. The method |
365 // argument is used for conversion of breakpoints into the original | 368 // argument is used for conversion of breakpoints into the original |