Java theory and practice
This content is part of the series: Java theory and practice
- A brief history of garbage collection
- Anatomy of a flawed microbenchmark
- Are all stateful Web applications broken?
- Be a good (event) listener
- Building a better HashMap
- Characterizing thread safety
- Coaxing J2EE out of the container
- Concurrency made simple (sort of)
- Concurrent collections classes
- Dealing with InterruptedException
- Decorating with dynamic proxies
- Dynamic compilation and performance measurement
- Enable initialization atomicity
- Fixing the Java Memory Model, Part 1
- Fixing the Java Memory Model, Part 2
- Garbage collection and performance
- Garbage collection in the HotSpot JVM
- Generics gotchas
- Going atomic
- Going wild with generics, Part 1
- Going wild with generics, Part 2
- Good housekeeping practices
- Hashing it out
- Hey, where'd my thread go?
- I have to document THAT?
- Instrumenting applications with JMX
- Introduction to nonblocking algorithms
- Is that your final answer?
- Kill bugs dead
- Make database queries without the database
- Managing volatility
- More flexible, scalable locking in JDK 5.0
- Performance management -- do you have a plan?
- Plugging memory leaks with soft references
- Plugging memory leaks with weak references
- Safe construction techniques
- Screen-scraping with XQuery
- Should you use JMS in your next enterprise application?
- State replication in the Web tier
- Stick a fork in it, Part 1
- Stick a fork in it, Part 2
- Synchronization optimizations in Mustang
- Testing with leverage, Part 1
- Testing with leverage, Part 2
- Testing with leverage, Part 3
- The closures debate
- The exceptions debate
- The pseudo-typedef antipattern
- Thread pools and work queues
- To mutate or not to mutate?
- Understanding JTS -- An introduction to transactions
- Understanding JTS -- Balancing safety and performance
- Understanding JTS -- The magic behind the scenes
- Urban performance legends
- Urban performance legends, revisited
- Using Java 5 language features in earlier JDKs
- Where's your point?
- Whose object is it, anyway?
Java theory and practice的更多相关文章
- Java theory and practice: Thread pools and work queues--reference
Why thread pools? Many server applications, such as Web servers, database servers, file servers, or ...
- Java Concurrency in Practice 读书笔记 第十章
粗略看完<Java Concurrency in Practice>这部书,确实是多线程/并发编程的一本好书.里面对各种并发的技术解释得比较透彻,虽然是面向Java的,但很多概念在其他语言 ...
- Java中编写线程安全代码的原理(Java concurrent in practice的快速要点)
Java concurrent in practice是一本好书,不过太繁冗.本文主要简述第一部分的内容. 多线程 优势 与单线程相比,可以利用多核的能力; 可以方便的建模成一个线程处理一种任务; 与 ...
- Java Concurrency In Practice -Chapter 2 Thread Safety
Writing thread-safe code is managing access to state and in particular to shared, mutable state. Obj ...
- java并发编程实战(java concurrency in practice)
第一章 线程共享进程范围内的资源,但每个线程都有各自的程序计数器.栈以及局部变量等. 多个线程可以同时调度到多个CPU上运行. 线程的优势? 在服务应用程序中,可以提升资源利用率以及系统吞吐率 ...
- 读Java Concurrency in Practice. 第六章.
这一章开讲任务执行.绝大多数并发程序的工作都可以分解为抽象的.互不相关的工作单元,称之为任务(Task). 使用java线程来执行任务 以web服务器的实现举例, 此时将用户的一次连接,当做一个独立的 ...
- Java Concurrency in Practice——读书笔记
Thread Safety线程安全 线程安全编码的核心,就是管理对状态(state)的访问,尤其是对(共享shared.可变mutable)状态的访问. shared:指可以被多个线程访问的变量 mu ...
- Java Concurrency In Practice
线程安全 定义 A class is thread-safe if it behaves correctly when accessed from multiple threads, regardle ...
- Java Concurrency In Practice - Chapter 1 Introduction
1.1. A (Very) Brief History of Concurrency motivating factors for multiple programs to execute simul ...
随机推荐
- JavaScript:变量对象(Variable Object)
引言:在使用JavaScript编程的时候,避免不了声明函数和变量,但是我们很少知道解释器是如何并且在什么地方找到这些函数和变量的,我们在引用这些对象的时候究竟发生了什么? 对ECMAScript程序 ...
- Android类参考---Fragment
Android类参考---Fragment public final boolean isAdded() 如果该Fragment对象被添加到了它的Activity中,那么它返回true,否则返回fal ...
- jquery的is用法
JQuery 中 is(':visible') 解析及用法 javascript代码$(document).ready(function() { $('#faq').find('d ...
- JVM值内存垃圾回收监控之jstat
如何判断JVM垃圾回收是否正常?一般的top指令基本上满足不了这样的需求,因为top主要监控的是总体的系统资源,很难定位到java应用程序. Jstat是JDK自带的一个轻量级小工具.全称“Java ...
- 三极管的妙用之C118自动刷机
首先咱们要搞清楚咱们自动刷机的原理,不谈修改固件那么高深的东西,简单的就是控制开机键. 使用继电器来控制基本上算是上个世纪的想法吧,之前博主也做过,做出来的感觉其实也很不错,就像是一个收藏品.因为继电 ...
- Java 集合深入理解(8):AbstractSequentialList
点击查看 Java 集合框架深入理解 系列, - ( ゜- ゜)つロ 乾杯~ 今天有点无聊,来学学 AbstractSequentialList 解解闷 吧! AbstractSequentialLi ...
- C#实现union以及lock的使用
1.什么是Union类型数据 联合(Union)是一种特殊的类,一个联合中的数据成员在内存中的存储是互相重叠的.每个数据成员都在相同的内存地址开始. 分配给联合的存储区数量是“要包含它最大的数据成员” ...
- CSS知识点总结
1.选择器 参考链接:十分钟搞定CSS选择器-Samaritans CSS选择器笔记-阮一峰 CSS选择器-w3school MDN 参考书籍:<CSS高效开发指南> 2.布局 2. ...
- cocos引擎v2.1版本android 编译问题解决办法 (cocos2d-x-3.4rc1)
下载了最新版的cocos v2.1.2beta,使用cocos.exe来创建项目,而且在最下方的附件功能里还勾选了“支持x86架构cpu”这个选项,导致使用build_native.py编译不通过,以 ...
- python 怎样使用安装库
win: 1.使用匹配安装 进入pip所在目录C:\Python27\Scripts pip intasll lxml 2.源码下载安装 下载源码,解压到任意目录 cd 进入到setup.py的目录 ...