- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 界面、接口、tomcat响应慢的问题排查过程
作为程序员,应该有一套排查问题的思路,下面以界面响应慢为出发点进行整理(后端开发程序员一枚,前端不过多描述)。 设计到的工具:jstack、jmap、jstat(这三个是jre自带的)、Windows资源监视器、Windows性能监视器(perfmon.exe)、wireshark、ProcessExplorer、mat(dump分析工具)、程序员计算器、PsExec64.exe(提权工具)等。...
2019-01-11 15:09:26
5458
1
原创 HashMap源码跟读纪要
1、HashMap关键字段解释size:表示HashMap中存放KV的数量(为链表和树中的KV的总和)loadFactor:loadFactor译为装载因子。装载因子用来衡量HashMap满的程度。loadFactor的默认值为0.75f。计算HashMap的实时装载因子的方法为:size/capacity。capacity:表示HashMap的容量,即为Node<K,V>[] tab...
2018-05-16 16:13:27
171
原创 Spring MVC数据绑定为请求串
POST请求调用SpringMVC的控制方法,URL后面跟有请求串同时请求体里面有数据 @RequestMapping(value = "xxxxx", method = RequestMethod.POST) @ResponseBody public BaseRespEntity xxxxx(@RequestBody String jsonText, HttpServle...
2017-02-24 16:45:17
130
原创 得到宽度
var winWidth; // 获取窗口宽度 if (window.innerWidth) winWidth = window.innerWidth; else if ((document.body) && (document.body.clientWidth)) winWidth = document.body.clientWidth; // 获取窗口高度 //...
2017-02-20 18:20:10
139
原创 中间显示
<style type="text/css"> * { margin: 0px; padding: 0px; } .common { width: 150px; height: 100%; line-height: 53px; background-color: gray; display:inline-block; margin-right: 10px;...
2017-02-20 10:29:23
160
原创 ActiveMQ鉴权-权限验证
AuthenticationPlugin : 用户登录连接插件 AuthenticationBroker : 怎样验证的具体实现 AuthorizationPlugin : 授权插件 AuthorizationBroker : 怎样授权的具体实现 ActiveMQ需要在配置文件activemq.xml中配置安装插件,验证插件AuthenticationPlugin 和授权插...
2017-02-10 10:52:16
1547
原创 tomcat https配置以及生成
1、tomcat相关配置 <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" keystoreFile="D:/Ja
2017-02-09 20:10:47
234
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人