现象
- 通过jfr抓取的deoptimization event发现有很多parseHost相关的jit退化
从前两篇文章中,我们熟悉了tomcat核心组件的启动过程。但是应用是如何部署的,何时部署的,这些过程仍然没有解释清楚。这篇文章,我们主要分析下应用部署的过程。要厘清楚调用关系,最快的莫过于火焰图。
The number of milliseconds this Connector will wait, after accepting a connection, for the request URI line to be presented. Use a value of -1 to indicate no (i.e. infinite) timeout. The default value is 60000 (i.e. 60 seconds) but note that the standard server.xml that ships with Tomcat sets this to 20000 (i.e. 20 seconds). Unless disableUploadTimeout is set to
false
, this timeout will also be used when reading the request body (if any).