6890308: integrate zero assembler hotspot changes

Reviewed-by: never
This commit is contained in:
Gary Benson 2009-10-13 12:04:21 -07:00 committed by Tom Rodriguez
parent 9b306d03ee
commit 5473f394c6
108 changed files with 7657 additions and 56 deletions

View file

@ -99,6 +99,8 @@ class JNIHandles : AllStatic {
class JNIHandleBlock : public CHeapObj {
friend class VMStructs;
friend class CppInterpreter;
private:
enum SomeConstants {
block_size_in_oops = 32 // Number of handles per handle block
@ -126,9 +128,11 @@ class JNIHandleBlock : public CHeapObj {
// Fill block with bad_handle values
void zap();
protected:
// No more handles in the both the current and following blocks
void clear() { _top = 0; }
private:
// Free list computation
void rebuild_free_list();