欢迎来到天天文库
浏览记录
ID:31984282
大小:6.35 MB
页数:234页
时间:2019-01-30
《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,ScalableResultCache64SummaryofPartI696、ExecutorFramework746.3.FindingExploitableParallelism78Summary83Chapter7.CancellationandShutdown857.1.TaskCancellation857.2.StoppingaThreadͲbasedService937.3.HandlingAbnormalThreadTermination1007.4.JVMShutdown102Summary103Chapter8.ApplyingThreadPools1048.1.ImplicitCouplingsBetweenTasksand7、ExecutionPolicies1048.2.SizingThreadPools1058.3.ConfiguringThreadPoolExecutor1068.4.ExtendingThreadPoolExecutor1118.5.ParallelizingRecursiveAlgorithms112Summary116Chapter9.GUIApplications1179.1.WhyareGUIsSingleͲthreaded?1179.2.ShortͲrunningGUITasks1199.3.LongͲrunningGUITa
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
此文档下载收益归作者所有
点击更多查看相关文章~~