Matches in DBpedia 2015-10 for { <http://dbpedia.org/resource/Initialization-on-demand_holder_idiom> ?p ?o }
Showing triples 1 to 38 of
38
with 100 triples per page.
- Initialization-on-demand_holder_idiom abstract "In software engineering, the Initialization on Demand Holder (design pattern) idiom is a lazy-loaded singleton. In all versions of Java, the idiom enables a safe, highly concurrent lazy initialization with good performance.The implementation of the idiom relies on the initialization phase of execution within the Java Virtual Machine (JVM) as specified by the Java Language Specification (JLS). When the class Something is loaded by the JVM, the class goes through initialization. Since the class does not have any static variables to initialize, the initialization completes trivially. The static class definition LazyHolder within it is not initialized until the JVM determines that LazyHolder must be executed. The static class LazyHolder is only executed when the static method getInstance is invoked on the class Something, and the first time this happens the JVM will load and initialize the LazyHolder class. The initialization of the LazyHolder class results in static variable INSTANCE being initialized by executing the (private) constructor for the outer class Something. Since the class initialization phase is guaranteed by the JLS to be serial, i.e., non-concurrent, no further synchronization is required in the static getInstance method during loading and initialization. And since the initialization phase writes the static variable INSTANCE in a serial operation, all subsequent concurrent invocations of the getInstance will return the same correctly initialized INSTANCE without incurring any additional synchronization overhead.This gives a highly efficient thread-safe "singleton" cache, without synchronization overhead; benchmarking indicates it to be far faster than even uncontended synchronization. However, the idiom is singleton-specific and not extensible to pluralities of objects (e.g. a map-based cache).".
- Initialization-on-demand_holder_idiom wikiPageExternalLink memoryModel.
- Initialization-on-demand_holder_idiom wikiPageExternalLink DoubleCheckedLocking.html.
- Initialization-on-demand_holder_idiom wikiPageExternalLink jsr-133-faq.html.
- Initialization-on-demand_holder_idiom wikiPageID "5799372".
- Initialization-on-demand_holder_idiom wikiPageLength "4785".
- Initialization-on-demand_holder_idiom wikiPageOutDegree "10".
- Initialization-on-demand_holder_idiom wikiPageRevisionID "678350544".
- Initialization-on-demand_holder_idiom wikiPageWikiLink Category:Articles_with_example_Java_code.
- Initialization-on-demand_holder_idiom wikiPageWikiLink Category:Software_design_patterns.
- Initialization-on-demand_holder_idiom wikiPageWikiLink Design_pattern_(computer_science).
- Initialization-on-demand_holder_idiom wikiPageWikiLink Double-checked_locking.
- Initialization-on-demand_holder_idiom wikiPageWikiLink Java_Virtual_Machine.
- Initialization-on-demand_holder_idiom wikiPageWikiLink Java_virtual_machine.
- Initialization-on-demand_holder_idiom wikiPageWikiLink Lazy_initialization.
- Initialization-on-demand_holder_idiom wikiPageWikiLink Multiton_pattern.
- Initialization-on-demand_holder_idiom wikiPageWikiLink Singleton_pattern.
- Initialization-on-demand_holder_idiom wikiPageWikiLink Software_design_pattern.
- Initialization-on-demand_holder_idiom wikiPageWikiLink Software_engineering.
- Initialization-on-demand_holder_idiom wikiPageWikiLinkText "Initialization-on-demand holder idiom".
- Initialization-on-demand_holder_idiom wikiPageWikiLinkText "initialization-on-demand holder idiom".
- Initialization-on-demand_holder_idiom hasPhotoCollection Initialization-on-demand_holder_idiom.
- Initialization-on-demand_holder_idiom wikiPageUsesTemplate Template:Reflist.
- Initialization-on-demand_holder_idiom subject Category:Articles_with_example_Java_code.
- Initialization-on-demand_holder_idiom subject Category:Software_design_patterns.
- Initialization-on-demand_holder_idiom hypernym Singleton.
- Initialization-on-demand_holder_idiom type Article.
- Initialization-on-demand_holder_idiom type Bacteria.
- Initialization-on-demand_holder_idiom type Article.
- Initialization-on-demand_holder_idiom type Pattern.
- Initialization-on-demand_holder_idiom comment "In software engineering, the Initialization on Demand Holder (design pattern) idiom is a lazy-loaded singleton. In all versions of Java, the idiom enables a safe, highly concurrent lazy initialization with good performance.The implementation of the idiom relies on the initialization phase of execution within the Java Virtual Machine (JVM) as specified by the Java Language Specification (JLS). When the class Something is loaded by the JVM, the class goes through initialization.".
- Initialization-on-demand_holder_idiom label "Initialization-on-demand holder idiom".
- Initialization-on-demand_holder_idiom sameAs Support_dinitialisation_xc3xa0_la_demande.
- Initialization-on-demand_holder_idiom sameAs m.0f5cxz.
- Initialization-on-demand_holder_idiom sameAs Q3504872.
- Initialization-on-demand_holder_idiom sameAs Q3504872.
- Initialization-on-demand_holder_idiom wasDerivedFrom Initialization-on-demand_holder_idiom?oldid=678350544.
- Initialization-on-demand_holder_idiom isPrimaryTopicOf Initialization-on-demand_holder_idiom.