Mercurial > hg > truffle
comparison src/share/vm/prims/whitebox.hpp @ 8051:12e01444ca2d
8006683: Add WhiteBox API to testing of compiler
Reviewed-by: kvn, vlivanov
author | iignatyev |
---|---|
date | Wed, 13 Feb 2013 08:29:04 -0800 |
parents | 51612f0c0a79 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
8050:aaad39923cdb | 8051:12e01444ca2d |
---|---|
32 | 32 |
33 // Entry macro to transition from JNI to VM state. | 33 // Entry macro to transition from JNI to VM state. |
34 | 34 |
35 #define WB_ENTRY(result_type, header) JNI_ENTRY(result_type, header) | 35 #define WB_ENTRY(result_type, header) JNI_ENTRY(result_type, header) |
36 #define WB_END JNI_END | 36 #define WB_END JNI_END |
37 #define WB_METHOD_DECLARE extern "C" jobjectArray JNICALL | 37 #define WB_METHOD_DECLARE(result_type) extern "C" result_type JNICALL |
38 | 38 |
39 class WhiteBox : public AllStatic { | 39 class WhiteBox : public AllStatic { |
40 private: | 40 private: |
41 static bool _used; | 41 static bool _used; |
42 public: | 42 public: |