< prev index next >

src/hotspot/share/classfile/stringTable.hpp

Print this page
*** 81,20 ***
    static void do_concurrent_work(JavaThread* jt);
    static bool has_work() { return _has_work; }
  
    // GC support
  
-   // Must be called before a parallel walk where strings might die.
-   static void reset_dead_counter() { _uncleaned_items_count = 0; }
- 
    // After the parallel walk this method must be called to trigger
    // cleaning. Note it might trigger a resize instead.
!   static void finish_dead_counter() { check_concurrent_work(); }
- 
-   // If GC uses ParState directly it should add the number of cleared
-   // strings to this method.
-   static void inc_dead_counter(size_t ndead) { add_items_to_clean(ndead); }
  
    // Probing
    static oop lookup(Symbol* symbol);
    static oop lookup(const jchar* chars, int length);
  
--- 81,13 ---
    static void do_concurrent_work(JavaThread* jt);
    static bool has_work() { return _has_work; }
  
    // GC support
  
    // After the parallel walk this method must be called to trigger
    // cleaning. Note it might trigger a resize instead.
!   static void gc_notification(size_t dead_count);
  
    // Probing
    static oop lookup(Symbol* symbol);
    static oop lookup(const jchar* chars, int length);
  
< prev index next >