mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
7148152: Add whitebox testing API to HotSpot
Add an internal testing API to HotSpot to enable more targeted testing of vm functionality Reviewed-by: phh, dholmes
This commit is contained in:
parent
a908ea8cb5
commit
27c0786c3b
25 changed files with 529 additions and 22 deletions
|
@ -25,6 +25,7 @@
|
|||
#include "precompiled.hpp"
|
||||
#include "compiler/compileBroker.hpp"
|
||||
#include "gc_interface/collectedHeap.hpp"
|
||||
#include "prims/whitebox.hpp"
|
||||
#include "runtime/arguments.hpp"
|
||||
#include "runtime/frame.inline.hpp"
|
||||
#include "runtime/init.hpp"
|
||||
|
@ -717,6 +718,13 @@ void VMError::report(outputStream* st) {
|
|||
st->cr();
|
||||
}
|
||||
|
||||
STEP(215, "(printing warning if internal testing API used)" )
|
||||
|
||||
if (WhiteBox::used()) {
|
||||
st->print_cr("Unsupported internal testing APIs have been used.");
|
||||
st->cr();
|
||||
}
|
||||
|
||||
STEP(220, "(printing environment variables)" )
|
||||
|
||||
if (_verbose) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue