Table of Contents
Table of Contents
Projects
#
PTS UI && SERVICE
#
DCTR SERVICE CI
#
HMBS BRE SERVICE
#
RECERTIFICATION SERVICE
#
HUD11708 SERVICE
#
BATCH JOB
#
Challenges
#
Virtual thread block the other thread
#
jps -l # to list java process, find springboot Application.class process
2.0 jcmd 12345 help
jcmd 12345 Thread.print
jcmd 12345 VM.flags # inspect JVM flags
jcmd 12345 GC.heap_info
jcmd PID VM.command_line # inspect JVM arguments
Use JFR
#
jcmd 12345 JFR.start name=debug duration=60s filename=C:\temp\debug.jfr
1.1 jcmd JFR.check
1.2 jcmd JFR.stop name=xxx
jmc
BRE performance: stream dao layer for large query, separate query to avoid large CTE, virtual thread
#
Production defect: WAF rule
#
DB Unique index constraint bug for efficient code
#
Drool syntax: && cannot skip second part, comma can skip second part
#
Not code related: not coding error, need to push back to not coding error
#
jdk25 bugs:
#
- jackson 3, cannot use primitive boolean in payload
sb4 bugs:
#
- queryForObject always throw EmptyResultDataAccessException if set fetchSize globally, we should use for each preparedStatement for each query
improve query performance
#
- reduce the size of CTE (common table expression)
- landing on index (most of time)
- improve table join