Shredded interviewer series (six): concurrent + Netty + JVM + Linux interview topics

Concurrent interview topics


(Way to receive answers interview questions + See sidebar)

 

  1. There are T1, T2, T3 three threads, how do you ensure T2 after the implementation of execution in T1, T3 after the implementation of execution in T2?
  2. What interfaces in Java, Lock advantage over synchronized block is? You need to implement an efficient caching, which allows multiple users to read, but only allows a user to write, in order to maintain its integrity, what would you do to achieve it?
  3. Different wait and sleep in java methods?
  4. Implemented in Java blocking queue.
  5. Use Java to write code to solve the producer - consumer issues.
  6. Java programming can lead to a deadlock in the program, you will be how to solve?
  7. What is atomic, atomic operations in what is Java?
  8. volatile key in Java What is the role? How to use it? In Java it with synchronized method What is the difference?
  9. What is a race condition? How do you identify and resolve the competition?
  10. How will you use threaddump? How would you analyze Thread dump?
  11. Why do we call the start () performs the run () method when the method, why can not we call the run () method directly?
  12. Java, how do you wake up a blocked thread?
  13. What is the difference in Java CycliBarriar and CountdownLatch?
  14. What is immutable, it has to write concurrent applications going to help?
  15. What are the common problems you encounter in a multithreaded environment is? How did you solve it?

Netty interview topics

 

  1. BIO, NIO and AIO difference?
  2. NIO composition?
  3. .Netty features?
  4. Netty's threading model?
  5. Cause and Solution stick package TCP / unpacking?
  6. Learn what kinds of serialization protocol?
  7. How to choose a sequence of protocol?
  8. Netty zero-copy achieved?
  9. Netty performance in what areas?
  10. NIOEventLoopGroup source?

JVM interview topics

 

  1. Memory model and a partition, you need to detail what to put in each area?
  2. Heap inside the partition: Eden, survival (from + to), old time, their own characteristics.
  3. Object creation method, the object of memory allocation, access the location of the object.
  4. Two kinds GC determination method
  5. SafePoint 是什么
  6. GC 的三种收集方法:标记清除、标记整理、复制算法的原理与特点,分别用在什么地方,如果让你优化收集方法,有什么思路?
  7. GC 收集器有哪些?CMS 收集器与 G1 收集器的特点。
  8. Minor GC 与 Full GC 分别在什么时候发生?
  9. 几种常用的内存调试工具
  10. 类加载的几个过程
  11. JVM 内存分哪几个区,每个区的作用是什么?
  12. 如和判断一个对象是否存活?(或者 GC 对象的判定方法)
  13. 简述 java 垃圾回收机制?
  14. java 中垃圾收集的方法有哪些?
  15. java 内存模型
  16. java 类加载过程?
  17. 简述 java 类加载机制?
  18. 类加载器双亲委派模型机制?
  19. 什么是类加载器,类加载器有哪些?
    20.简述 java 内存分配与回收策率以及 Minor GC 和Major GC

Linux面试专题

 

    1. Linux 中主要有哪几种内核锁?
    2. Linux 中的用户模式和内核模式是什么含意?
    3. 怎样申请大块内核内存?
    4. 用户进程间通信主要哪几种方式?
    5. 通过伙伴系统申请内核内存的函数有哪些?
    6. Linux 虚拟文件系统的关键数据结构有哪些?(至少写出四个)
    7. 对文件或设备的操作函数保存在那个数据结构中?
    8. Linux 中的文件包括哪些?
    9. 创建进程的系统调用有那些?
    10. 调用 schedule()进行进程切换的方式有几种?
    11. Linux 调度程序是根据进程的动态优先级还是静态优先级来调度进程的?
    12. 进程调度的核心数据结构是哪个?
    13. 如何加载、卸载一个模块?
    14. 模块和应用程序分别运行在什么空间?
    15. Linux 中的浮点运算由应用程序实现还是内核实现?
    16. 模块程序能否使用可链接的库函数?
    17. TLB 中缓存的是什么内容?
    18. Linux 中有哪几种设备?
    19. 字符设备驱动程序的关键数据结构是哪个?
    20. 设备驱动程序包括哪些功能函数?
    21. 如何唯一标识一个设备?
    22. Linux 通过什么方式实现系统调用?
    23. Linux 软中断和工作队列的作用是什么?

Guess you like

Origin www.cnblogs.com/chengxuwang/p/11202724.html