mirror of https://github.com/apache/cassandra
disable GCInspector on non-Sun JVMs. patch by Davanum Srinivas; reviewed by Roger Schildmeijer and jbellis for CASSANDRA-1061
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.6@942118 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5f72548d4a
commit
2d63ca7bb6
|
|
@ -9,6 +9,7 @@
|
|||
* fix windows startup (CASSANDRA-948)
|
||||
* make concurrent_reads, concurrent_writes configurable at runtime via JMX
|
||||
(CASSANDRA-1060)
|
||||
* disable GCInspector on non-Sun JVMs (CASSANDRA-1061)
|
||||
|
||||
|
||||
0.6.1
|
||||
|
|
|
|||
|
|
@ -313,7 +313,16 @@ public class StorageService implements IEndPointStateChangeSubscriber, StorageSe
|
|||
}
|
||||
|
||||
DatabaseDescriptor.createAllDirectories();
|
||||
GCInspector.instance.start();
|
||||
|
||||
try
|
||||
{
|
||||
GCInspector.instance.start();
|
||||
}
|
||||
catch (Throwable t)
|
||||
{
|
||||
logger_.warn("Unable to start GCInspector (currently only supported on the Sun JVM)");
|
||||
}
|
||||
|
||||
logger_.info("Starting up server gossip");
|
||||
|
||||
MessagingService.instance.listen(FBUtilities.getLocalAddress());
|
||||
|
|
|
|||
Loading…
Reference in New Issue