QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

What is the Parallel Garbage collector (-XX:+UseParallelGC)?

Garbage Collection - Frequently Asked Questions
The new parallel garbage collector is similar to the young generation collector in the default garbage collector but uses multiple threads to do the collection. By default on a host with N CPUs, the parallel garbage collector uses N garbage collector threads in the collection. The number of garbage collector threads can be controlled with a command line option (see below). On a host with a single CPU the default garbage collector is used even if the parallel garbage collector has been requested.

What is the Parallel Young Generation collector (-XX:+UseParNewGC)?

Garbage Collection - Frequently Asked Questions
The parallel young generation collector is similar to the parallel garbage collector (-XX:+UseParallelGC) in intent and differs in implementation. Most of the above description for the parallel garbage collector (-XX:+UseParallelGC) therefore applies equally for the parallel young generation collector. Unlike the parallel garbage collector (-XX:+UseParallelGC) this parallel young generation collector can be used with the concurrent low pause collector that collects the tenured generation. See similar questions...

Which parallel collector should I use?

Garbage Collection - Frequently Asked Questions
Although similar in intent the collectors are different in some details of the implementation that make the parallel garbage collector better for some applications while the parallel young generation collector is better for others. Both should be tried to determine which might be better suited to a specific application. See similar questions...

How can I find out what the garbage collector is doing?

Andy Mc's .NET Framework FAQ
Lots of interesting statistics are exported from the .NET runtime via the '.NET CLR xxx' performance counters. Use Performance Monitor to view them. See similar questions...

With the concurrent low pause collector how can I tell how much floating garbage is left?

Garbage Collection - Frequently Asked Questions
Because the application threads and the GC thread run concurrently, an object that is live at the beginning of a collection and which the GC thread has marked as live may die by the end of the collection. Such objects are referred to as floating garbage. The amount of floating garbage can be inferred if a full compacting collection occurs immediate following a concurrent collection. Any reduction in the heap size is due to floating garbage. See similar questions...

Can I use a garbage collector in C++?

Freestore management, C++ FAQ Lite
Compared with the "smart pointer" techniques (see [16.22], the two kinds of garbage collector techniques (see [16. See similar questions...

In what professions can you find genius? Can a garbage collector be a genius?

FAQ: Genius and Creativity
Geniuses are everywhere. Naturally they tend to gravitate towards science and other intellectually satisfying occupations. However, young geniuses in a number of countries are simply locked in a struggle for survival, which naturally limits their chances for full development. Some tend to withdraw from social life (cf. W. J. Sidis) and prefer to do lowly jobs to free their minds from the limits of the rat race. Others find excellent creative refuge in undemanding jobs and quiet offices. See similar questions...

How to customise the Garbage Collector for a new architecture?

Faq - SmartEiffelWiki
If your architecture needs special handling to get the GC working (because the stack is not contiguous, because some registers are not written on the stack on 'setjmp'...) then you need to implement function 'mark_stack_and_registers' for your system in the file SmartEiffel/sys/runtime/c/gc_lib.c. If you get some message telling you that the stack direction is wrong, then you should change macro definition to use the other generic code (there is one generic code for each stack order). See similar questions...

Do I have to configure the Real-Time Garbage Collector?

Java SE Real-Time FAQ
Yes, you should configure the RTGC to ensure that it gets enough CPU cycles. Configuring the RTGC means specifying its priority (through a command-line option) and specifying when it runs (through two other command-line options). This is documented in the Garbage Collection Guide for the Java RTS 2.0 product. On a multiprocessor machine, you could let the RTGC run continuously during the prototyping phase, by making it run at a very high priority and start even when the Heap is nearly empty. See similar questions...

Which garbage collector should I use for a very large 64-bit heaps?

Frequently Asked Questions About the Java HotSpot VM
The major advantage of a 64-bit Java implementation is to be able to create and use more Java objects. It is great to be able to break these 2GB limits. Remember, however, that this additional heap must be garbage collected at various points in your application's life span. This additional garbage collection can cause large pauses in your Java application if you do not take this into consideration. See similar questions...

Is it possible to use the Boehm-Demers-Weiser garbage collector with SmartEiffel?

Faq - SmartEiffelWiki
You just have to disable the generation of the GC by SmartEiffel (option -no_gc) and replace it by the BDW library. Note that the BDW GC can be easily added because SmartEiffel only uses malloc/realloc/calloc. You can download the BDW library from : http://www.hpl.hp.com/personal/Hans_Boehm/gc/ How to integrate the Boehm-Demers-Weiser garbage collector with SmartEiffel (from a message of Dietmar Wolz) : See similar questions...

Under what conditions is an object's finalize() method invoked by the garbage collector?

JAVA interview questions
The garbage collector invokes an object's finalize() method when it detects that the object has become unreachable. See similar questions...

What about parallel machines?

Basic Questions
Machines with many processors are much faster than single processors can be. Parallelism itself presents no advantages, and parallel machines are somewhat awkward to program. When extreme speed is required, it is necessary to face this awkwardness. See similar questions...

What is garbage collection?

Andy Mc's .NET Framework FAQ
Garbage collection is a heap-management strategy where a run-time component takes responsibility for managing the lifetime of the memory used by objects. This concept is not new to .NET - Java and many other languages/runtimes have used garbage collection for some time. See similar questions...

Can I put my computer out with my garbage?

FAQs - Frequently Asked Questions
Computers can be put out with regular trash. They cannot be recycled because they contain harmful materials. See similar questions...

What do I do with the garbage?

Beautiful properties nestled amo
Don't leave any garbage behind, you must take it back with you as the city does not provide pick up garbage. Disposal instructions are included in the Household Rules posted on walls at entrance Very important: NEVER leave garbage outside unless tightly covered in a wood or metal container. Raccoons, dogs, bears, skunks, etc. may come over during the night and spread it out, plus some animals are extremely dangerous for humans when meet face to face. See similar questions...

Explore Other Topics

Can I send a mobile phone wallpaper or screensavers to another mobile phone?
What GRE scores do I need? What about GPA? TOEFL?
What are the conditions recommended for the storage of recombinant Adenovirus preparations?
How do I install a strap button?
What can be done about sales tax?
What are the symptoms of HIV?
What is Design Room?
Do some cedar shingles cause premature deterioration of un-painted roof flashings?
How do I start researching my family history?
What is a Unique Taxpayer Reference number and where can I find it?
Why be in marching band?
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact