Print this page
rev 6900 : 8048169: Change 8037816 breaks HS build on PPC64 and CPP-Interpreter platforms
Summary: Fix the matching of format string parameter types to the actual argument types for the PPC64 and CPP-Interpreter files in the same way as 8037816 already did it for all the other files
Reviewed-by: stefank, coleenp, dholmes

Split Split Close
Expand all
Collapse all
          --- old/hotspot/src/cpu/ppc/vm/compiledIC_ppc.cpp
          +++ new/hotspot/src/cpu/ppc/vm/compiledIC_ppc.cpp
   1    1  /*
   2      - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
        2 + * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
   3    3   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4    4   *
   5    5   * This code is free software; you can redistribute it and/or modify it
   6    6   * under the terms of the GNU General Public License version 2 only, as
   7    7   * published by the Free Software Foundation.
   8    8   *
   9    9   * This code is distributed in the hope that it will be useful, but WITHOUT
  10   10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11   11   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12   12   * version 2 for more details (a copy is included in the LICENSE file that
↓ open down ↓ 155 lines elided ↑ open up ↑
 168  168    return 5;
 169  169  }
 170  170  
 171  171  void CompiledStaticCall::set_to_interpreted(methodHandle callee, address entry) {
 172  172    address stub = find_stub();
 173  173    guarantee(stub != NULL, "stub not found");
 174  174  
 175  175    if (TraceICs) {
 176  176      ResourceMark rm;
 177  177      tty->print_cr("CompiledStaticCall@" INTPTR_FORMAT ": set_to_interpreted %s",
 178      -                  instruction_address(),
      178 +                  p2i(instruction_address()),
 179  179                    callee->name_and_sig_as_C_string());
 180  180    }
 181  181  
 182  182    // Creation also verifies the object.
 183  183    NativeMovConstReg* method_holder = nativeMovConstReg_at(stub + IC_pos_in_java_to_interp_stub);
 184  184    NativeJump*        jump          = nativeJump_at(method_holder->next_instruction_address());
 185  185  
 186  186    assert(method_holder->data() == 0 || method_holder->data() == (intptr_t)callee(),
 187  187           "a) MT-unsafe modification of inline cache");
 188  188    assert(jump->jump_destination() == (address)-1 || jump->jump_destination() == entry,
↓ open down ↓ 45 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX