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 ...
随机推荐
- 新版的tomcat里面get请求通过http协议的时候似乎默认是UTF-8的编码了吗?
不在servler.xml的connector中添加URICoding=“UTF-8”,使用默认值一样没有乱码,而添加URICoding=“iso-8859-1”就是乱码了. POST请求还是用iso ...
- Javascript基础--类与对象(五)
js面向(基于)对象编程1.澄清概念 1.1 js中基于对象 == js 面向对象 1.2 js中没有类class,但是它取了一个新的名字,交原型对象,因此 类 = 原型对象. 2.为什么需要对象? ...
- ACM - 动态规划专题 题目整理
CodeForces 429B Working out 预处理出从四个顶点到某个位置的最大权值,再枚举相遇点,相遇的时候只有两种情况,取最优解即可. #include<iostream> ...
- jsCodeWar 多函数嵌套调用
function compose(f, g) { return function() { return f(g.apply(this, arguments)); }; } --- function c ...
- 如何修改svn的密码或重新输入用户名密码
在Eclipse 使用SVN 的过程中大多数人往往习惯把访问SVN 的用户名密码自动保存起来以便下次自动使用,不要再次手工输入,而此时(自动保存密码后),svn又不存在一个显式的登陆框了,但是有些时候 ...
- http://www.tracefact.net/CSharp-Programming/Delegates-and-Events-in-CSharp.aspx
http://www.tracefact.net/CSharp-Programming/Delegates-and-Events-in-CSharp.aspx
- Emacs+highlight-parentheses高亮括号
EmacsWiki上关于它的介绍HighlightParentheses,下载最新版请通过作者的GitHub:https://github.com/nschum/highlight-parenthes ...
- linux命令:pwd
1.介绍: pwd可以查看目录的完整路径,全称是Print Working Directory,. 2.命令格式 pwd [选项] 3.命令作用 查看目录的完整路径 4.常用选项 -L 当路径为链接路 ...
- iOS 从相机或相册获取图片并裁剪
今天遇到一个用户头像上传的问题,需要从相册或者相机中读取图片.代码很简单,抽取关键部分,如下: //load user image - (void)UesrImageClicked { UIActio ...
- POJ 3278 经典BFS
进一步了解了bfs; 题意:给你n,然后用+,-,*三种运算使n变成k; 漏洞:在算出新的数字之后,一定要判边界,否则RE,而且在每一步后面都得加判断是否等于K,如果是即刻退出,否则WA,判这个的时候 ...