comparison src/cpu/x86/vm/methodHandles_x86.cpp @ 12316:190899198332

7195622: CheckUnhandledOops has limited usefulness now Summary: Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms. Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin Contributed-by: lois.foltan@oracle.com
author hseigel
date Thu, 26 Sep 2013 10:25:02 -0400
parents cc32ccaaf47f
children 268e7a2178d7
comparison
equal deleted inserted replaced
12315:c1fbf21c7397 12316:190899198332
1 /* 1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2013, 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.
473 bool has_mh = (strstr(adaptername, "/static") == NULL && 473 bool has_mh = (strstr(adaptername, "/static") == NULL &&
474 strstr(adaptername, "linkTo") == NULL); // static linkers don't have MH 474 strstr(adaptername, "linkTo") == NULL); // static linkers don't have MH
475 const char* mh_reg_name = has_mh ? "rcx_mh" : "rcx"; 475 const char* mh_reg_name = has_mh ? "rcx_mh" : "rcx";
476 tty->print_cr("MH %s %s="PTR_FORMAT" sp="PTR_FORMAT, 476 tty->print_cr("MH %s %s="PTR_FORMAT" sp="PTR_FORMAT,
477 adaptername, mh_reg_name, 477 adaptername, mh_reg_name,
478 mh, entry_sp); 478 (void *)mh, entry_sp);
479 479
480 if (Verbose) { 480 if (Verbose) {
481 tty->print_cr("Registers:"); 481 tty->print_cr("Registers:");
482 const int saved_regs_count = RegisterImpl::number_of_registers; 482 const int saved_regs_count = RegisterImpl::number_of_registers;
483 for (int i = 0; i < saved_regs_count; i++) { 483 for (int i = 0; i < saved_regs_count; i++) {