Giter VIP home page Giter VIP logo

hello_cumtb's People

Contributors

calvinlin011010 avatar chaxuxx avatar dpmxc3 avatar zouyishan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hello_cumtb's Issues

关于虚拟机中操作数栈的疑问

Java在编译的时候,会将最大操作数栈写入code属性中的max_stacks。不是 关键就是凭什么编译的时候就能知道最大操作数栈和局部变量表啊,很疑惑。这数据流分析这么强吗?

关于原子引用的一些问题

首先看这代码:

AtomicReference<Integer> reference = new AtomicReference<>(1000);
reference.compareAndSet(1000, 1001);

这里肯定是不能CAS成功的,因为这个1000的内存不是最开始的new AtomicReference<>(1000)的内存。
那问题来了,如果我们用这代码:

AtomicReference<Integer> reference = new AtomicReference<>(1000);
reference.compareAndSet(reference.get(), 1001);

使得成功CAS,那么想问的是此时的reference指向的内存空间是那个的呢?是原来new的1000还是新的1001所在的内存呢?

关于Java类加载过程的疑问

为什么Java再类加载过程中判断是否可以并行的时候。源码里面有个内部类叫做ParallelLoaders,里面有个方法叫做register。那个方法为什么再判断类加载器是否可以并行的同时还要判断父类加载器也要同时并行。但是它的静态代码块中已经添加进入了父类加载器了,也就是ClassLoader。那这算不算冗余呢???这是为了安全吗??? 这是为了架构吗???

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.