equal
deleted
inserted
replaced
64 oop java_string = RawAccess<>::oop_load(p); |
64 oop java_string = RawAccess<>::oop_load(p); |
65 StringDedupTable::deduplicate(java_string, _stat); |
65 StringDedupTable::deduplicate(java_string, _stat); |
66 } |
66 } |
67 }; |
67 }; |
68 |
68 |
69 // The CDS archive does not include the string dedupication table. Only the string |
69 // The CDS archive does not include the string deduplication table. Only the string |
70 // table is saved in the archive. The shared strings from CDS archive need to be |
70 // table is saved in the archive. The shared strings from CDS archive need to be |
71 // added to the string dedupication table before deduplication occurs. That is |
71 // added to the string deduplication table before deduplication occurs. That is |
72 // done in the begining of the StringDedupThread (see StringDedupThread::do_deduplication()). |
72 // done in the beginning of the StringDedupThread (see StringDedupThread::do_deduplication()). |
73 void StringDedupThread::deduplicate_shared_strings(StringDedupStat* stat) { |
73 void StringDedupThread::deduplicate_shared_strings(StringDedupStat* stat) { |
74 StringDedupSharedClosure sharedStringDedup(stat); |
74 StringDedupSharedClosure sharedStringDedup(stat); |
75 StringTable::shared_oops_do(&sharedStringDedup); |
75 StringTable::shared_oops_do(&sharedStringDedup); |
76 } |
76 } |
77 |
77 |