interview icon indicating copy to clipboard operation
interview copied to clipboard

Java 面经手册,全书共计 5 章 29 节,417页11.5万字,耗时 4 个月完成。涵盖数据结构、算法逻辑、并发编程、JVM以及简历和互联网大厂面试等内容。

Results 9 interview issues
Sort by recently updated
recently updated
newest added

Bumps [fastjson](https://github.com/alibaba/fastjson) from 1.2.68 to 1.2.83. Release notes Sourced from fastjson's releases. FASTJSON 1.2.83版本发布(安全修复) 这是一个安全修复版本,修复最近收到在特定场景下可以绕过autoType关闭限制的漏洞,建议fastjson用户尽快采取安全措施保障系统安全。 安全修复方案 :https://github.com/alibaba/fastjson/wiki/security_update_20220523 Issues 安全加固 修复JDK17下setAccessible报错的问题 #4077 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.83/ 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98 源码 https://github.com/alibaba/fastjson/tree/1.2.83 fastjson 1.2.79版本发布,BUG修复 这又是一个bug...

dependencies

报错在 Enhancer.create() 这里,修改 cglib 依赖版本后可正常运行。 改成 3.1 就可以了,后面的版本会报错。

HotSpot(JDK8) 中对于 MarkWord 锁标识的分类为:001-无锁、101-偏向锁、00-轻量级锁、10-膨胀(重量级锁)、11-GC标记 PDF 原文中对于无锁和偏向锁标识的错误描述为:_101 为无锁、001 为偏向锁_。 PDF 原文内容错误信息为标红位置: ![271637635936_ pic_hd](https://user-images.githubusercontent.com/43985315/142965341-68b74a93-44e9-4cdf-b197-02e1ba21ec89.jpg) HotSpot(JDK8) 源码注释内容: ![image](https://user-images.githubusercontent.com/43985315/142965685-e495515f-af8e-4c76-8e34-5968f06532df.png)

在面经手册关于内存模型和内存分区的演进一章中,内存分区和内存模型感觉有点混淆,内存模型(JMM)是一种规范,目的是解决多线程并发通过内存共享通信时,主内存和工作内存的数据一致性问题,保证内存共享的正确性。内存分区也就是通常意义上理解的jvm运行时数据区的分区。个人意见,仅供参考

Bumps logback-classic from 1.0.9 to 1.2.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ch.qos.logback:logback-classic&package-manager=maven&previous-version=1.0.9&new-version=1.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies

![image](https://user-images.githubusercontent.com/43985315/132464198-2143b3a5-bc49-440d-be09-a607a9e24973.png) 原文图解中是: 占位 1 在每次计算时向后传递 1 位,传递顺序为 10000、11000、11100、11110、11111 实际情况是: 占位 1 在计算时向后传递 2^n 位,正确传递顺序为 10000、11000、11110、11111

![截图_20215218055242](https://user-images.githubusercontent.com/2009557/129878458-08f27877-bc2d-45f6-8240-c605746b905e.png) 原文是: 在这个判断中主要就是看当前线程是不是同步队列的首位,是:true、否:false 实际应该是: 在这个判断中主要就是看当前线程是不是同步队列的首位,是:false、否:true

Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. Changelog Sourced from junit's changelog. Summary of changes...

dependencies

Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...

dependencies