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++) { |