java_concurrency_in_practice

java_concurrency_in_practice

ID:31984282

大小:6.35 MB

页数:234页

时间:2019-01-30

java_concurrency_in_practice_第1页
java_concurrency_in_practice_第2页
java_concurrency_in_practice_第3页
java_concurrency_in_practice_第4页
java_concurrency_in_practice_第5页
资源描述:

《java_concurrency_in_practice》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、JavaConcurrencyInPracticeBrianGöetzTimPeierlsJoshuaBlochJosephBowbeerDavidHolmesDougLeaAddisonͲWesleyProfessionalISBNͲ10:0Ͳ321Ͳ34960Ͳ1ISBNͲ13:978Ͳ0Ͳ321Ͳ34960Ͳ6iiJavaConcurrencyInPracticeIndexIndexiiPrefacexiiiHowtoUsethisBookxiiiCodeExamplesxivAcknowledgmentsxvChapter1-Introduction11.1.A

2、(Very)BriefHistoryofConcurrency21.2.BenefitsofThreads31.2.1.ExploitingMultipleProcessors31.2.2.SimplicityofModeling31.2.3.SimplifiedHandlingofAsynchronousEvents31.2.4.MoreResponsiveUserInterfaces41.3.RisksofThreads51.3.1.SafetyHazards51.3.2.LivenessHazards61.3.3.PerformanceHazards61.4.Th

3、readsareEverywhere8PartI:Fundamentals10Chapter2.ThreadSafety112.1.WhatisThreadSafety?122.2.Atomicity132.3.Locking162.4.GuardingStatewithLocks192.5.LivenessandPerformance20Chapter3.SharingObjects233.1.Visibility233.2.PublicationandEscape263.3.ThreadConfinement283.4.Immutability313.5.SafeP

4、ublication33Chapter4.ComposingObjects374.1.DesigningaThreadͲsafeClass374.2.InstanceConfinement394.3.DelegatingThreadSafety414.4.AddingFunctionalitytoExistingThreadͲsafeClasses474.5.DocumentingSynchronizationPolicies49Chapter5.BuildingBlocks515.1.SynchronizedCollections515.2.ConcurrentCol

5、lections545.3.BlockingQueuesandtheProducerͲconsumerPattern565.4.BlockingandInterruptibleMethods595.5.Synchronizers605.6.BuildinganEfficient,ScalableResultCache64SummaryofPartI69

6、ExecutorFramework746.3.FindingExploitableParallelism78Summary83Chapter7.CancellationandShutdown857.1.TaskCancellation857.2.StoppingaThreadͲbasedService937.3.HandlingAbnormalThreadTermination1007.4.JVMShutdown102Summary103Chapter8.ApplyingThreadPools1048.1.ImplicitCouplingsBetweenTasksand

7、ExecutionPolicies1048.2.SizingThreadPools1058.3.ConfiguringThreadPoolExecutor1068.4.ExtendingThreadPoolExecutor1118.5.ParallelizingRecursiveAlgorithms112Summary116Chapter9.GUIApplications1179.1.WhyareGUIsSingleͲthreaded?1179.2.ShortͲrunningGUITasks1199.3.LongͲrunningGUITa

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
相关文章
更多
相关标签