answersLogoWhite

0


Best Answer

When the object is no longer referenced anywhere else in your program, then the object becomes marked for garbage collection.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: When the number of references to an object becomes that object is marked for garbage collection?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When a document is marked as final what does it becomes?

It becomes regarded as completed, and disseminateable.


Absolute references are marked with what?

Absolute references in Excel are marked with a dollar sign ($) before the column letter and/or row number. For example, $A$1 would be an absolute reference to cell A1, meaning that the reference will not change when copied to other cells.


When does Garbage collection occur in java?

No one can force garbage collector to free memory, A java object is subjected to garbage collection when it can not be reached by the program in which it is being used. Programmer can request for garbage collection by System.gc() but JVM doesn't guarantee that is will start immediatelyActually, the specific method for GC and how it will be run is dependent on the JVM implementation being used.For instance, Sun (now Oracle)'s Hotspot JVM has several different GC designs, one of which (the RealTime engine) can be immediately triggered via a System.gc() call. Each type of GC will have different triggers and thresholds as to when it will be run, which allows the user to pick the GC option that they think will be least disruptive and most effective for their particular application.You must read the JVM documentation for your particular VM to see what available GC options there are, how each GC method works, and what the various thresholds are.


What prefix would you add to the word marked to change the meaning of the word to mark before?

The prefix you would add to the word "marked" to change the meaning to "mark before" is "pre-". So it becomes "pre-marked."


What was the people's party platform in 1892?

a collection of political cartoons from the watershed presidential campaign that marked America's transition to the twentieth century


Are any Eric Grossbardt rings marked China inside?

yes, all should be marked china, the eric grossbardt collection for QVC is made in china and QVC requires country of origin to be included with jeweler markings.


Can a nested object be used in Serialization?

Yes, provide that object and its object references (the instance variables of that object that are of other object types) is also Serializable, or marked as [NonSerialized]


What are the guidlelines and schedules for trash removal in NYC?

Garbage must be placed into leak proof garbage cans with tightly fitted lids or placed in heavy duty black or brown bags that are securely tied. Recyclable items must be placed in clearly marked recycling bins. Receptacles of trash must be placed at the collection no earlier than 5pm the night before the designated pickup and removed no later than 9pmon collection day. The day of collection depends on the address and collection occurs 2-3 times per week for curbside locations and 1-3 times per week for container locations. You can get more information at http://www.nyc.gov/html/dsny/downloads/pdf/rules/digest/DSNY_Rules_Reg.pdf or http://www.nyc.gov/html/dsny/html/collection/refuse.shtml This site details the rules and restrictions for trash pick-up in New York City: http://www.ci.nyc.ny.us Use the search on the left side and enter "trash" for a list of articles about restrictions, rules, recycling and pick-up schedules throughout the city.


Are fairtrade products widely available?

It becomes easier all the time to find them. Just check the packaging. It's usually clearly marked.


Your credit score is 563 and you just paid off 4 collection charges on your credit report how will that effect your credit score?

Not much other than having the collection marked from unpaid to paid. If you are paying off credit collection companies, negotiate to get a letter from them telling you that the amount you are paying is the balance as agreed and that they will remove it from your credit report. Do not pay until you get that letter. If you pay without doing that, it will stay on your credit report for about 3 years depending on when the collection was first put on your credit report. The fact that you paid it already just says on your credit report that instead of unpaid the collection is marked as paid. If you already paid either repair your credit or get a reputable firm in the BBB who has a money-back guaranteed policy.


Can your creditors change credit report entries from Bankruptcy to Charged Off or Collection after discharge?

No. All entries have to be marked "included in bankruptcy". Obviously that only applies if they were actually included.


How far do raccoons migrate?

Raccoons do not migrate. They usually spend their entire life in their marked home territory and only moving elsewhere if food becomes scarce.