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 ...
随机推荐
- 【python】list。列表
列表 list 特点:有序,支持不同类型的元素在一个列表中,可变(使用sort方法排序,影响到的是列表自身而不是创建新的列表——这与字符串不同,所以说字符串是不可变的) 在python中列表也是对象, ...
- hadoop启动之后出现错误:Retrying connect to server: hadoop/192.168.73.100:9000. Already tried 0 time(s);
INFO ipc.Client: Retrying connect to server: hadoop/192.168.73.100:9000. Already tried 0 time(s); re ...
- MySQL的简单查询
1.普通查询 select * from info; #查询所有内容 select Code,Name from Info #查询某几列 2.条件查询 select * from Info where ...
- Unknown type name “CGFloat
一.编绎显示Unknown type name “CGFloat” 错误解决方法 将Compile Sources As 改为 Objective-C++ 二.如果是extern const引起的. ...
- GCD的多线程实现方式,线程和定时器混合使用
GCD (Grand Central Dispatch) 性能更好,追求性能的话 1.创建一个队列 //GCD的使用 //创建一个队列 dispatch_queue_t queue = dispatc ...
- hdu 2097
ps:WA了两次好像....Sky数是三个进制下的各位数之和相等...而不是都等于22...我傻逼了... 代码: #include "stdio.h" int inp(int a ...
- 面向连接的Socket Server的简单实现(简明易懂)
一.基本原理 有时候我们需要实现一个公共的模块,需要对多个其他的模块提供服务,最常用的方式就是实现一个Socket Server,接受客户的请求,并返回给客户结果. 这经常涉及到如果管理多个连接及如何 ...
- HexDump.java解析
从包名我们可以看出该类并没有对应用开发者开放,也就是说在google开放的Android API文档中并没有该类的相关介绍:好在Android系统源码是开源的,因此我在解决framework中问题的时 ...
- Unity3D ShaderLab 模拟精灵动画
Unity3D ShaderLab 模拟精灵动画 在上一篇,介绍了通过Shader 模拟纹理运动,那么更深一步讲,我们也可以把帧动画的精灵纹理运动通过shader实现. 虽然大家都是在游戏脚本中做更高 ...
- HDU 4004
http://acm.hdu.edu.cn/showproblem.php?pid=4004 题意:青蛙过长L的河,只能落在石头上,石头数量是n,给出n个坐标,至多跳m次,求在可以过河的条件下,青蛙跳 ...