Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/restore.cpp @ 113:ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv
Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author | coleenp |
---|---|
date | Sun, 13 Apr 2008 17:43:42 -0400 |
parents | a61af66fc99e |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
110:a49a647afe9a | 113:ba764ed4b6f2 |
---|---|
47 assert(SharedSkipVerify || (intptr_t)obj >= 0 || (intptr_t)obj < -100, | 47 assert(SharedSkipVerify || (intptr_t)obj >= 0 || (intptr_t)obj < -100, |
48 "hit tag while initializing oops."); | 48 "hit tag while initializing oops."); |
49 assert(SharedSkipVerify || obj->is_oop_or_null(), "invalid oop"); | 49 assert(SharedSkipVerify || obj->is_oop_or_null(), "invalid oop"); |
50 *p = obj; | 50 *p = obj; |
51 } | 51 } |
52 | |
53 void do_oop(narrowOop* p) { ShouldNotReachHere(); } | |
52 | 54 |
53 void do_ptr(void** p) { | 55 void do_ptr(void** p) { |
54 assert(*p == NULL, "initializing previous initialized pointer."); | 56 assert(*p == NULL, "initializing previous initialized pointer."); |
55 void* obj = nextOop(); | 57 void* obj = nextOop(); |
56 assert((intptr_t)obj >= 0 || (intptr_t)obj < -100, | 58 assert((intptr_t)obj >= 0 || (intptr_t)obj < -100, |