8059624: Test task: WhiteBox API for testing segmented codecache feature

Reviewed-by: kvn, thartmann
This commit is contained in:
Igor Ignatyev 2014-11-10 19:04:38 +03:00
parent 80830d4932
commit bdac822811
18 changed files with 687 additions and 35 deletions

View file

@ -83,6 +83,7 @@ class CodeBlob VALUE_OBJ_CLASS_SPEC {
public:
// Returns the space needed for CodeBlob
static unsigned int allocation_size(CodeBuffer* cb, int header_size);
static unsigned int align_code_offset(int offset);
// Creation
// a) simple CodeBlob
@ -207,7 +208,7 @@ class CodeBlob VALUE_OBJ_CLASS_SPEC {
}
};
class WhiteBox;
//----------------------------------------------------------------------------------------------------
// BufferBlob: used to hold non-relocatable machine code such as the interpreter, stubroutines, etc.
@ -215,6 +216,7 @@ class BufferBlob: public CodeBlob {
friend class VMStructs;
friend class AdapterBlob;
friend class MethodHandlesAdapterBlob;
friend class WhiteBox;
private:
// Creation support