Mercurial > hg > truffle
comparison src/share/vm/opto/runtime.cpp @ 6150:1e76463170b3
7110720: Issue with vm config file loadingIssue with vm config file loading
Summary: disabling default config files if -XX:-ReadDefaultConfigFiles
Reviewed-by: phh, jrose, dcubed, dholmes
author | kamg |
---|---|
date | Thu, 29 Mar 2012 18:55:32 -0400 |
parents | 7e0e43cf86d6 |
children | 5142b5110214 |
comparison
equal
deleted
inserted
replaced
4813:e850d8e7ea54 | 6150:1e76463170b3 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1998, 2012, 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. |
894 | 894 |
895 if (n->is_nmethod()) { | 895 if (n->is_nmethod()) { |
896 methodOop method = ((nmethod*)n)->method(); | 896 methodOop method = ((nmethod*)n)->method(); |
897 tty->print_cr("# Method where it happened %s.%s ", Klass::cast(method->method_holder())->name()->as_C_string(), method->name()->as_C_string()); | 897 tty->print_cr("# Method where it happened %s.%s ", Klass::cast(method->method_holder())->name()->as_C_string(), method->name()->as_C_string()); |
898 tty->print_cr("#"); | 898 tty->print_cr("#"); |
899 if (ShowMessageBoxOnError && UpdateHotSpotCompilerFileOnError) { | 899 if (ShowMessageBoxOnError && UpdateHotSpotCompilerFileOnError && |
900 CompilerOracle::has_command_file()) { | |
900 const char* title = "HotSpot Runtime Error"; | 901 const char* title = "HotSpot Runtime Error"; |
901 const char* question = "Do you want to exclude compilation of this method in future runs?"; | 902 const char* question = "Do you want to exclude compilation of this method in future runs?"; |
902 if (os::message_box(title, question)) { | 903 if (os::message_box(title, question)) { |
903 CompilerOracle::append_comment_to_file(""); | 904 CompilerOracle::append_comment_to_file(""); |
904 CompilerOracle::append_comment_to_file("Null exception in compiled code resulted in the following exclude"); | 905 CompilerOracle::append_comment_to_file("Null exception in compiled code resulted in the following exclude"); |