< prev index next >

src/hotspot/share/oops/cpCache.inline.hpp

Print this page
@@ -87,11 +87,11 @@
                                              const intStack& inverse_index_map,
                                              const intStack& invokedynamic_inverse_index_map,
                                              const intStack& invokedynamic_references_map) :
                                                    _length(length),
                                                    _constant_pool(NULL) {
-   CDS_JAVA_HEAP_ONLY(_archived_references = narrowOop::null;)
+   CDS_JAVA_HEAP_ONLY(_archived_references_index = -1;)
    initialize(inverse_index_map, invokedynamic_inverse_index_map,
               invokedynamic_references_map);
    for (int i = 0; i < length; i++) {
      assert(entry_at(i)->is_f1_null(), "Failed to clear?");
    }
< prev index next >