**BUG REPORT**

1. Please describe the issue you observed:

- What did you do (The steps to reproduce)?
when startup mqnamesvr or run mqadmin with my JDK8 env, it always raises some 
unnecessary VM warning like the following:
```  
$ ./bin/mqnamesrv -n 127.0.0.1:9876
Java HotSpot(TM) 64-Bit Server VM warning: Using the DefNew young collector 
with the CMS collector is deprecated and will likely be removed in a future 
release
Java HotSpot(TM) 64-Bit Server VM warning: UseCMSCompactAtFullCollection is 
deprecated and will likely be removed in a future release.
...
```

```
sh mqadmin updateTopic -b 127.0.0.1:10911 -t TopicA
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; 
support was removed in 8.0
...
```  

- What did you expect to see?

It will be good if the shell script can skip the deprecated VM options 
depending on the different JDK version.

2. Please tell us about your environment:

MacBook + JDK8


[ Full content available at: https://github.com/apache/rocketmq/issues/436 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to