08 2018 档案

摘要:java -XX:+PrintFlagsFinal -version | grep ThreadStackSize intx CompilerThreadStackSize = 0 {pd product} intx ThreadStackSize = 1024 {pd product} intx 阅读全文
posted @ 2018-08-15 06:58 深渊中的鱼 阅读(4377) 评论(0) 推荐(0)
摘要:/IdeaProjects/com.my/out/test/classes class文件目录如下: /IdeaProjects/com.my/out/test/classes/service service的上一级目录为classes, 那我们就在classes下执行:记得带上class文件所在的 阅读全文
posted @ 2018-08-14 17:37 深渊中的鱼 阅读(642) 评论(0) 推荐(0)
摘要:package service;import java.util.stream.IntStream;/** * @description: 给线程命名 * @author: * @create: **/public class NamedThreads { public static final S 阅读全文
posted @ 2018-08-14 11:19 深渊中的鱼 阅读(708) 评论(0) 推荐(0)
摘要:package service;import java.util.stream.IntStream;/** * @description: * @author: * @create: **/public class ThreadDefaultName { public static void mai 阅读全文
posted @ 2018-08-14 11:08 深渊中的鱼 阅读(563) 评论(0) 推荐(0)
摘要:package com.com.pipiimport java.util.Random;import java.util.concurrent.TimeUnit;/** * @description: 这样容易吃大锅饭 * @author: * @create: **/public class Ti 阅读全文
posted @ 2018-08-14 10:43 深渊中的鱼 阅读(710) 评论(0) 推荐(0)