changeset 39230:b991240ffb0d

8159237: PreservedMarks verification code fails Reviewed-by: lmesnik, jwilhelm
author stefank
date Fri, 10 Jun 2016 14:06:36 +0200
parents 8bfc00dd44b6
children e6aa09b4f1b9 36e44e05ecf8
files hotspot/src/share/vm/gc/shared/preservedMarks.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/gc/shared/preservedMarks.cpp	Wed Jun 08 16:07:49 2016 +0200
+++ b/hotspot/src/share/vm/gc/shared/preservedMarks.cpp	Fri Jun 10 14:06:36 2016 +0200
@@ -131,10 +131,10 @@
 #endif // ndef PRODUCT
 
 void SharedRestorePreservedMarksTaskExecutor::restore(PreservedMarksSet* preserved_marks_set,
-                                               volatile size_t* total_size_addr) {
+                                                      volatile size_t* total_size_addr) {
   if (_workers == NULL) {
     for (uint i = 0; i < preserved_marks_set->num(); i += 1) {
-      total_size_addr += preserved_marks_set->get(i)->size();
+      *total_size_addr += preserved_marks_set->get(i)->size();
       preserved_marks_set->get(i)->restore();
     }
   } else {