首页 > 其他 > 详细

我的知识结构(20190927)

时间:2019-09-27 23:23:28      阅读:93      评论:0      收藏:0      [点我收藏+]

我的知识结构

今天面试,感受颇多。
发现自己已经习惯把记不得当作借口,趁此机会,整理一下自己的知识体系。

Programming

JVM

JVM Specification

  • Field
    • Field is owned by class who declared it.
    • Resolution: self -> superinterfaces -> superclass
  • Invoke bytecode
    • invokevirtual
      • Compile time method slot
    • invokestatic
    • invokespecial
      • instance initialization methods
      • methods of the current class
      • methods of its supertypes
    • invokeinterface
    • invokedynamic
      • lang.invoke.CallSite

JRE

  • Map
    • util.HashMap
      • 读源码
      • Hash Table
        • Resize for 2× capacity
        • threshold = loadFactor × capacity
      • Linked List Node or Red-Black Tree Node
        • Threshold 8 and 6
        • Using instanceof to divide
    • util.TreeMap
      • Red-Black Tree
    • util.concurrent.ConcurrentHashMap
      • like CopyOnWriteArrayList, using CAS
      • Use #transferIndex as optimistic lock
      • Linked List Node or Red-Black Tree Node
        • Threshold 8 and 6
        • Using ~.Node#hash to divide
      • Forwarding Node and Reservation Node
        • 待续

Hotspot VM

  • 内存布局
    • Memory using "malloc, realloc, free"
      • Unsafe ability
      • Manual memory management
      • Using for IO
    • 以下内容待验证
      • MetaSpace
      • Heap
        • Old Generation
        • Young Generation
          • Eden Space
          • Suvrvivor1/2

我的知识结构(20190927)

原文:https://www.cnblogs.com/tutoutu/p/11600867.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!