-
Notifications
You must be signed in to change notification settings - Fork 127
/
Makefile
23 lines (17 loc) · 962 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package:clean
@mvn package
package-plugin:clean
@mvn package -Pplugin
clean:
@mvn clean
run:package
@java -XX:+HeapDumpOnOutOfMemoryError -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -Xloggc:gc.log -jar order-center-cp/cp-oc-main/target/dddplus-demo.jar
run-plugin:package-plugin
@java -XX:+HeapDumpOnOutOfMemoryError -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -Xss512k -Xms1G -Xmx1G -XX:MaxMetaspaceSize=128m -XX:+UnlockDiagnosticVMOptions -XX:+PrintNMTStatistics -XX:NativeMemoryTracking=summary -Xloggc:gc.log -jar order-center-cp/cp-oc-main/target/dddplus-demo.jar 9090 plugin
offheap:
@echo "jcmd <pid> VM.native_memory baseline"
@echo "watch -d jcmd <pid> VM.native_memory summary.diff"
depgraph:
@mvn install
@mvn com.github.ferstl:depgraph-maven-plugin:aggregate -DcreateImage=true -DreduceEdges=false -Dscope=compile "-Dincludes=*:*"
@open target/dependency-graph.png