src/share/vm/classfile/klassFactory.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/classfile/klassFactory.cpp Mon Oct 31 17:46:33 2016
--- new/src/share/vm/classfile/klassFactory.cpp Mon Oct 31 17:46:33 2016
*** 210,219 ****
--- 210,223 ----
if (cached_class_file != NULL) {
// JVMTI: we have an InstanceKlass now, tell it about the cached bytes
result->set_cached_class_file(cached_class_file);
}
+ if (InstanceKlass::should_store_fingerprint()) {
+ result->store_fingerprint(!result->is_anonymous() ? stream->compute_fingerprint() : 0);
+ }
+
TRACE_KLASS_CREATION(result, parser, THREAD);
#if INCLUDE_CDS && INCLUDE_JVMTI
if (DumpSharedSpaces) {
assert(cached_class_file == NULL, "Sanity");
src/share/vm/classfile/klassFactory.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File