Mercurial > hg > truffle
comparison src/share/vm/utilities/vmError.cpp @ 5915:2d503de963b3
7148152: Add whitebox testing API to HotSpot
Summary: Add an internal testing API to HotSpot to enable more targeted testing of vm functionality
Reviewed-by: phh, dholmes
author | mgerdin |
---|---|
date | Thu, 23 Feb 2012 14:58:35 +0100 |
parents | aa3d708d67c4 |
children | fd09f2d8283e |
comparison
equal
deleted
inserted
replaced
4956:4ab89de75552 | 5915:2d503de963b3 |
---|---|
23 */ | 23 */ |
24 | 24 |
25 #include "precompiled.hpp" | 25 #include "precompiled.hpp" |
26 #include "compiler/compileBroker.hpp" | 26 #include "compiler/compileBroker.hpp" |
27 #include "gc_interface/collectedHeap.hpp" | 27 #include "gc_interface/collectedHeap.hpp" |
28 #include "prims/whitebox.hpp" | |
28 #include "runtime/arguments.hpp" | 29 #include "runtime/arguments.hpp" |
29 #include "runtime/frame.inline.hpp" | 30 #include "runtime/frame.inline.hpp" |
30 #include "runtime/init.hpp" | 31 #include "runtime/init.hpp" |
31 #include "runtime/os.hpp" | 32 #include "runtime/os.hpp" |
32 #include "runtime/thread.hpp" | 33 #include "runtime/thread.hpp" |
715 // VM options | 716 // VM options |
716 Arguments::print_on(st); | 717 Arguments::print_on(st); |
717 st->cr(); | 718 st->cr(); |
718 } | 719 } |
719 | 720 |
721 STEP(215, "(printing warning if internal testing API used)" ) | |
722 | |
723 if (WhiteBox::used()) { | |
724 st->print_cr("Unsupported internal testing APIs have been used."); | |
725 st->cr(); | |
726 } | |
727 | |
720 STEP(220, "(printing environment variables)" ) | 728 STEP(220, "(printing environment variables)" ) |
721 | 729 |
722 if (_verbose) { | 730 if (_verbose) { |
723 os::print_environment_variables(st, env_list, buf, sizeof(buf)); | 731 os::print_environment_variables(st, env_list, buf, sizeof(buf)); |
724 st->cr(); | 732 st->cr(); |