hotspot/src/share/vm/classfile/javaClasses.hpp
changeset 43422 d4693bf78777
parent 42627 0e7a86ac37c2
child 43677 5228814c1da2
equal deleted inserted replaced
43421:077af5bb5fa4 43422:d4693bf78777
    78   static Handle create_from_str(const char* utf8_str, TRAPS);
    78   static Handle create_from_str(const char* utf8_str, TRAPS);
    79   static oop    create_oop_from_str(const char* utf8_str, TRAPS);
    79   static oop    create_oop_from_str(const char* utf8_str, TRAPS);
    80   static Handle create_from_symbol(Symbol* symbol, TRAPS);
    80   static Handle create_from_symbol(Symbol* symbol, TRAPS);
    81   static Handle create_from_platform_dependent_str(const char* str, TRAPS);
    81   static Handle create_from_platform_dependent_str(const char* str, TRAPS);
    82   static Handle char_converter(Handle java_string, jchar from_char, jchar to_char, TRAPS);
    82   static Handle char_converter(Handle java_string, jchar from_char, jchar to_char, TRAPS);
    83 
       
    84   static bool has_hash_field()  {
       
    85     assert(initialized, "Must be initialized");
       
    86     return (hash_offset > 0);
       
    87   }
       
    88   static bool has_coder_field()  {
       
    89     assert(initialized, "Must be initialized");
       
    90     return (coder_offset > 0);
       
    91   }
       
    92 
    83 
    93   static void set_compact_strings(bool value);
    84   static void set_compact_strings(bool value);
    94 
    85 
    95   static int value_offset_in_bytes()  {
    86   static int value_offset_in_bytes()  {
    96     assert(initialized && (value_offset > 0), "Must be initialized");
    87     assert(initialized && (value_offset > 0), "Must be initialized");