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 ...
随机推荐
- C# 对MongoDB 进行增删改查的简单操作 (转)
运用到的MongoDB支持的C#驱动,当前版本为1.6.0 下载地址:https://github.com/mongodb/mongo-csharp-driver/downloads 1,连接数据库 ...
- Listview没有优化之前
MainActivity.java package com.example.listviewdemo4; import java.util.ArrayList; import java.util.Ha ...
- @synthesize的使用
利用@synthesize可以给在.m文件中给.h文件中的属性重新定义新的名称如 @synthesize firstname = anothername:firstname是在.h文件中定义的,新定义 ...
- 解决:Android编译源码根目录下/system/vold后,通过push命令将编译生成的vold文件push至system/bin下无法正常开机
这段时间由于工作需要,在对android根目录下/system/vold进行修改编译的时候,在通过adb命令将vold文件push至/system/bin目录下,adb reboot重启手机却发现一直 ...
- flex css 布局
http://www.w3cplus.com/css3/flexbox-basics.html
- BZOJ 1045 糖果传递
奇怪的式子.最后发现取中位数. #include<iostream> #include<cstdio> #include<cstring> #include< ...
- SQL 时间差函数
SELECT DateDiff(DAY,T.ActualEndDate,GetDate()) FROM JCW_CheckTask T WHERE T.status = 2
- dedecms 列表页调用自定义字段
在列表附加字段中添加自己定义的字段 如: lwulr调用:{dede:list addfields="lwurl" channelid="1"}[field:l ...
- 动态数组 - ArrayList
前言 如果数组的大小要随时间变化,那么数组操作起来就比较麻烦. 在C++中,这种情况要用到动态向量Vector. 而Java中,提供了一种叫做ArrayList的泛型数组结构类型,提供相似的作用. 其 ...
- 关于java发起http请求
我们到底能走多远系列(41) 扯淡: 好久没总结点东西了,技术上没什么总结,感觉做事空牢牢的.最近也比较疲惫. 分享些东西,造福全人类~ 主题: 1,java模拟发起一个http请求 使用HttpUR ...