2004 // which are not visible at the CollectedHeap level. We want to |
2004 // which are not visible at the CollectedHeap level. We want to |
2005 // be able to acquire these locks and then do the iteration rather |
2005 // be able to acquire these locks and then do the iteration rather |
2006 // than just disable the lock verification. This will be fixed under |
2006 // than just disable the lock verification. This will be fixed under |
2007 // bug 4788986. |
2007 // bug 4788986. |
2008 if (UseConcMarkSweepGC && FLSVerifyAllHeapReferences) { |
2008 if (UseConcMarkSweepGC && FLSVerifyAllHeapReferences) { |
2009 if (VerifyGCStartAt == 0) { |
2009 if (VerifyDuringStartup) { |
2010 warning("Heap verification at start-up disabled " |
2010 warning("Heap verification at start-up disabled " |
2011 "(due to current incompatibility with FLSVerifyAllHeapReferences)"); |
2011 "(due to current incompatibility with FLSVerifyAllHeapReferences)"); |
2012 VerifyGCStartAt = 1; // Disable verification at start-up |
2012 VerifyDuringStartup = false; // Disable verification at start-up |
2013 } |
2013 } |
|
2014 |
2014 if (VerifyBeforeExit) { |
2015 if (VerifyBeforeExit) { |
2015 warning("Heap verification at shutdown disabled " |
2016 warning("Heap verification at shutdown disabled " |
2016 "(due to current incompatibility with FLSVerifyAllHeapReferences)"); |
2017 "(due to current incompatibility with FLSVerifyAllHeapReferences)"); |
2017 VerifyBeforeExit = false; // Disable verification at shutdown |
2018 VerifyBeforeExit = false; // Disable verification at shutdown |
2018 } |
2019 } |