20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
|
25 /* |
|
26 * This file has been modified by Loongson Technology in 2015. These |
|
27 * modifications are Copyright (c) 2015 Loongson Technology, and are made |
|
28 * available on the same license terms set forth above. |
|
29 */ |
|
30 |
25 #ifndef SHARE_VM_RUNTIME_SHAREDRUNTIME_HPP |
31 #ifndef SHARE_VM_RUNTIME_SHAREDRUNTIME_HPP |
26 #define SHARE_VM_RUNTIME_SHAREDRUNTIME_HPP |
32 #define SHARE_VM_RUNTIME_SHAREDRUNTIME_HPP |
27 |
33 |
28 #include "interpreter/bytecodeHistogram.hpp" |
34 #include "interpreter/bytecodeHistogram.hpp" |
29 #include "interpreter/bytecodeTracer.hpp" |
35 #include "interpreter/bytecodeTracer.hpp" |
579 static void print_call_statistics(int comp_total); |
585 static void print_call_statistics(int comp_total); |
580 static void print_statistics(); |
586 static void print_statistics(); |
581 static void print_ic_miss_histogram(); |
587 static void print_ic_miss_histogram(); |
582 |
588 |
583 #endif // PRODUCT |
589 #endif // PRODUCT |
|
590 static void print_long(long long i); |
|
591 static void print_int(int i); |
|
592 static void print_float(float i); |
|
593 static void print_double(double i); |
|
594 static void print_str(char *str); |
|
595 |
|
596 static void print_reg_with_pc(char *reg_name, long i, long pc); |
584 }; |
597 }; |
585 |
598 |
586 |
599 |
587 // --------------------------------------------------------------------------- |
600 // --------------------------------------------------------------------------- |
588 // Implementation of AdapterHandlerLibrary |
601 // Implementation of AdapterHandlerLibrary |