comparison src/share/vm/opto/bytecodeInfo.cpp @ 2357:8033953d67ff

7012648: move JSR 292 to package java.lang.invoke and adjust names Summary: package and class renaming only; delete unused methods and classes Reviewed-by: twisti
author jrose
date Fri, 11 Mar 2011 22:34:57 -0800
parents f95d63e2154a
children 3d58a4983660
comparison
equal deleted inserted replaced
2356:72dee110246f 2357:8033953d67ff
1 /* 1 /*
2 * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1998, 2011, 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.
485 int new_depth_adjust = 0; 485 int new_depth_adjust = 0;
486 if (caller_jvms->method() != NULL) { 486 if (caller_jvms->method() != NULL) {
487 if (caller_jvms->method()->is_method_handle_adapter()) 487 if (caller_jvms->method()->is_method_handle_adapter())
488 new_depth_adjust -= 1; // don't count actions in MH or indy adapter frames 488 new_depth_adjust -= 1; // don't count actions in MH or indy adapter frames
489 else if (callee_method->is_method_handle_invoke()) { 489 else if (callee_method->is_method_handle_invoke()) {
490 new_depth_adjust -= 1; // don't count method handle calls from java.dyn implem 490 new_depth_adjust -= 1; // don't count method handle calls from java.lang.invoke implem
491 } 491 }
492 if (new_depth_adjust != 0 && PrintInlining) { 492 if (new_depth_adjust != 0 && PrintInlining) {
493 stringStream nm1; caller_jvms->method()->print_name(&nm1); 493 stringStream nm1; caller_jvms->method()->print_name(&nm1);
494 stringStream nm2; callee_method->print_name(&nm2); 494 stringStream nm2; callee_method->print_name(&nm2);
495 tty->print_cr("discounting inlining depth from %s to %s", nm1.base(), nm2.base()); 495 tty->print_cr("discounting inlining depth from %s to %s", nm1.base(), nm2.base());