OpenJDK / portola / portola
changeset 56818:43cfcb1e39c0
8233266: Remove unnecessary fence in restore_unshareable_info
Reviewed-by: jiangli, dholmes
author | coleenp |
---|---|
date | Wed, 30 Oct 2019 22:32:00 -0400 |
parents | 6d081cef7ea8 |
children | 0c671290204c |
files | src/hotspot/share/oops/klass.cpp |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/oops/klass.cpp Thu Oct 31 02:22:42 2019 +0000 +++ b/src/hotspot/share/oops/klass.cpp Wed Oct 30 22:32:00 2019 -0400 @@ -564,12 +564,6 @@ // Restore class_loader_data to the null class loader data set_class_loader_data(loader_data); - // Workaround for suspected bug. Make sure other threads see this assignment. - // This shouldn't be necessary but the compiler thread seems to be behind - // the times, even though this thread takes MethodCompileQueue_lock and the thread - // that doesn't see this value also takes that lock. - OrderAccess::fence(); - // Add to null class loader list first before creating the mirror // (same order as class file parsing) loader_data->add_class(this);