equal
deleted
inserted
replaced
498 |
498 |
499 const char* Klass::external_name() const { |
499 const char* Klass::external_name() const { |
500 if (oop_is_instance()) { |
500 if (oop_is_instance()) { |
501 instanceKlass* ik = (instanceKlass*) this; |
501 instanceKlass* ik = (instanceKlass*) this; |
502 if (ik->is_anonymous()) { |
502 if (ik->is_anonymous()) { |
503 assert(AnonymousClasses, ""); |
503 assert(EnableInvokeDynamic, ""); |
504 intptr_t hash = ik->java_mirror()->identity_hash(); |
504 intptr_t hash = ik->java_mirror()->identity_hash(); |
505 char hash_buf[40]; |
505 char hash_buf[40]; |
506 sprintf(hash_buf, "/" UINTX_FORMAT, (uintx)hash); |
506 sprintf(hash_buf, "/" UINTX_FORMAT, (uintx)hash); |
507 size_t hash_len = strlen(hash_buf); |
507 size_t hash_len = strlen(hash_buf); |
508 |
508 |