Mercurial > hg > truffle
diff src/share/vm/compiler/compileBroker.hpp @ 6948:e522a00b91aa
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/ after NPG - C++ build works
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 12 Nov 2012 23:14:12 +0100 |
parents | 957c266d8bc5 9191895df19d |
children | 291ffc492eb6 |
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.hpp Mon Nov 12 18:11:17 2012 +0100 +++ b/src/share/vm/compiler/compileBroker.hpp Mon Nov 12 23:14:12 2012 +0100 @@ -42,7 +42,8 @@ private: Monitor* _lock; uint _compile_id; - jobject _method; + Method* _method; + jobject _method_loader; int _osr_bci; bool _is_complete; bool _is_success; @@ -54,7 +55,8 @@ // Fields used for logging why the compilation was initiated: jlong _time_queued; // in units of os::elapsed_counter() - jobject _hot_method; // which method actually triggered this task + Method* _hot_method; // which method actually triggered this task + jobject _hot_method_loader; int _hot_count; // information about its invocation counter const char* _comment; // more info about the task @@ -70,7 +72,7 @@ void free(); int compile_id() const { return _compile_id; } - jobject method_handle() const { return _method; } + Method* method() const { return _method; } int osr_bci() const { return _osr_bci; } bool is_complete() const { return _is_complete; } bool is_blocking() const { return _is_blocking; } @@ -98,12 +100,12 @@ void set_prev(CompileTask* prev) { _prev = prev; } private: - static void print_compilation_impl(outputStream* st, methodOop method, int compile_id, int comp_level, + static void print_compilation_impl(outputStream* st, Method* method, int compile_id, int comp_level, bool is_osr_method = false, int osr_bci = -1, bool is_blocking = false, const char* msg = NULL, bool short_form = false); public: - void print_compilation(outputStream* st = tty, bool short_form = false); + void print_compilation(outputStream* st = tty, const char* msg = NULL, bool short_form = false); static void print_compilation(outputStream* st, const nmethod* nm, const char* msg = NULL, bool short_form = false) { print_compilation_impl(st, nm->method(), nm->compile_id(), nm->comp_level(), nm->is_osr_method(), nm->is_osr_method() ? nm->osr_entry_bci() : -1, /*is_blocking*/ false, @@ -115,6 +117,9 @@ print_inlining(tty, method, inline_level, bci, msg); } + // Redefine Classes support + void mark_on_stack(); + static void print_inline_indent(int inline_level, outputStream* st = tty); void print(); @@ -206,6 +211,9 @@ bool is_empty() const { return _first == NULL; } int size() const { return _size; } + // Redefine Classes support + void mark_on_stack(); + void print(); }; @@ -400,6 +408,9 @@ return _perf_total_compilation != NULL ? _perf_total_compilation->get_value() : 0; } + // Redefine Classes support + static void mark_on_stack(); + // Print a detailed accounting of compilation time static void print_times();