equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2014, 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. |
518 } |
518 } |
519 } else { |
519 } else { |
520 tty->print_cr("CompilerOracle: unrecognized line"); |
520 tty->print_cr("CompilerOracle: unrecognized line"); |
521 tty->print_cr(" \"%s\"", original_line); |
521 tty->print_cr(" \"%s\"", original_line); |
522 if (error_msg != NULL) { |
522 if (error_msg != NULL) { |
523 tty->print_cr(error_msg); |
523 tty->print_cr("%s", error_msg); |
524 } |
524 } |
525 } |
525 } |
526 } |
526 } |
527 |
527 |
528 static const char* default_cc_file = ".hotspot_compiler"; |
528 static const char* default_cc_file = ".hotspot_compiler"; |
640 |
640 |
641 bool have_colon = (strstr(line, "::") != NULL); |
641 bool have_colon = (strstr(line, "::") != NULL); |
642 char method_sep = have_colon ? ':' : '.'; |
642 char method_sep = have_colon ? ':' : '.'; |
643 |
643 |
644 if (Verbose) { |
644 if (Verbose) { |
645 tty->print_cr(line); |
645 tty->print_cr("%s", line); |
646 } |
646 } |
647 |
647 |
648 ResourceMark rm; |
648 ResourceMark rm; |
649 while (*line != '\0') { |
649 while (*line != '\0') { |
650 MethodMatcher::Mode c_match = MethodMatcher::Exact; |
650 MethodMatcher::Mode c_match = MethodMatcher::Exact; |