equal
deleted
inserted
replaced
92 ConstantPoolCache::allocate(loader_data, _cp_cache_map, |
92 ConstantPoolCache::allocate(loader_data, _cp_cache_map, |
93 _invokedynamic_cp_cache_map, |
93 _invokedynamic_cp_cache_map, |
94 _invokedynamic_references_map, CHECK); |
94 _invokedynamic_references_map, CHECK); |
95 |
95 |
96 // initialize object cache in constant pool |
96 // initialize object cache in constant pool |
|
97 _pool->set_cache(cache); |
|
98 cache->set_constant_pool(_pool()); |
|
99 |
|
100 // _resolved_references is stored in pool->cache(), so need to be done after |
|
101 // the above lines. |
97 _pool->initialize_resolved_references(loader_data, _resolved_references_map, |
102 _pool->initialize_resolved_references(loader_data, _resolved_references_map, |
98 _resolved_reference_limit, |
103 _resolved_reference_limit, |
99 CHECK); |
104 CHECK); |
100 _pool->set_cache(cache); |
|
101 cache->set_constant_pool(_pool()); |
|
102 } |
105 } |
103 |
106 |
104 |
107 |
105 |
108 |
106 // The new finalization semantics says that registration of |
109 // The new finalization semantics says that registration of |