This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package me.tingri.design.threads; | |
| import java.util.LinkedList; | |
| import java.util.Queue; | |
| public class ThreadIllustration { | |
| /** | |
| * @param args | |
| */ | |
| public static void main(String[] args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Uncomment the following line to make the umask available when using the | |
| # org.apache.catalina.security.SecurityListener | |
| #JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask`" | |
| #-----------Add below lines for remote JVM monitoring------- | |
| JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.local.only=false" | |
| JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false " | |
| #----------Add above lines for remote JVM monitoring------- |
NewerOlder