Home

Java Feature

Java Feature Stream jdk8 Method Reference jdk8 深入理解volatile关键字 Reference

Read more

Java Class Loader

Java Class Loader Java在new一个对象时, 会先判断类是否加载到内存, 如果没有会先使用双亲委托模型加载类, 然后创建对象. Reference java new一个对象的过程中发生了什么

Read more

macOS 问题

macOS 问题 应用图标不显示 Apps Icons not appearing sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \; sudo find /private/var/folders/ -name com.apple.iconservices -exec rm -rf {} \; sudo rm -rf /Library/Caches/com.apple.iconservices.store killall Dock Reference

Read more

macOS 自动开机

macOS 自动开机 开盖自动开机 // disable sudo nvram AutoBoot=%00 // enable sudo nvram AutoBoot=%03 启动铃声 // enable sudo nvram BootAudio=%01 // disable sudo nvram BootAudio=%00 Reference How to stop the new MacBook Pro from automatically turning on when the lid is open

Read more

Android Runtime (ART) and Dalvik

Android Runtime (ART) and Dalvik Reference Android Runtime (ART) and Dalvik Android Runtime — How Dalvik and ART work? Difference Between Dalvik and ART in Android What are the differences between Dalvik and ART?

Read more

Android View drawing process

Android View drawing process Android’s UI management system Activity PhoneWindow mWindow DecorView mDecor System Layout ViewGroup mContentParent Activity Layout PhoneWindow 每一个Activity都包含一个Window对象,Window对象通常由PhoneWindow实现 PhoneWindow:将Decoriew设置为整个应用窗口的根View。是Window的实现类。它是Android中的最基本的窗口系统,每个Activity 均会创建一个PhoneWindow对象,是...

Read more

Android Surface

Android Surface Activity setContentView DecorView Windows, LocalWindowManager ViewRoot mSurface AIDL WindowManagerService Surface Reference 深入理解Android:Surface

Read more

Android IPC

Android IPC Binder AIDL Messager FILE bundle socket Pipe Binder Messager 是依赖AIDL, AIDL依赖Binder 使用/dev/binder, Android中的虚拟设备 一个进程只打开设备一次 Reference 深入理解Android:Binder

Read more