Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 6755:bc675e55b48c
7193946: Move warnings associated with UseMemSetInBOT flag
Summary: The warnings associated with the UseMemSetInBOT flag are duplicated in CMS and G1. The separate warnings have been removed and single instance of the warning has been placed in a common location.
Reviewed-by: brutisso, ysr
author | johnc |
---|---|
date | Wed, 19 Sep 2012 15:48:02 -0700 |
parents | 9646b7ff4d14 |
children | 8966c2d65d96 |
comparison
equal
deleted
inserted
replaced
6754:8fbf05030e24 | 6755:bc675e55b48c |
---|---|
787 | 787 |
788 NOT_PRODUCT(_overflow_counter = CMSMarkStackOverflowInterval;) | 788 NOT_PRODUCT(_overflow_counter = CMSMarkStackOverflowInterval;) |
789 _gc_counters = new CollectorCounters("CMS", 1); | 789 _gc_counters = new CollectorCounters("CMS", 1); |
790 _completed_initialization = true; | 790 _completed_initialization = true; |
791 _inter_sweep_timer.start(); // start of time | 791 _inter_sweep_timer.start(); // start of time |
792 #ifdef SPARC | |
793 // Issue a stern warning, but allow use for experimentation and debugging. | |
794 if (VM_Version::is_sun4v() && UseMemSetInBOT) { | |
795 assert(!FLAG_IS_DEFAULT(UseMemSetInBOT), "Error"); | |
796 warning("Experimental flag -XX:+UseMemSetInBOT is known to cause instability" | |
797 " on sun4v; please understand that you are using at your own risk!"); | |
798 } | |
799 #endif | |
800 } | 792 } |
801 | 793 |
802 const char* ConcurrentMarkSweepGeneration::name() const { | 794 const char* ConcurrentMarkSweepGeneration::name() const { |
803 return "concurrent mark-sweep generation"; | 795 return "concurrent mark-sweep generation"; |
804 } | 796 } |