Question

In class- We calculated 2^30 * (1nsec + 1nsec) = 2.14 sec In class, we demonstrated...

In class- We calculated 2^30 * (1nsec + 1nsec) = 2.14 sec

  1. In class, we demonstrated how long it takes to complete compaction for a 1GB RAM with 2 nsec access time assuming the entire memory had to be compacted -- meaning there is a hole at the first location and no hole at the last location.

How often would compaction have to be completed? Why? (2)

Homework Answers

Answer #1

ANSWER :

* The algorithmic difficulty in a compaction algorithm is about updating all pointers, so that they point to the new object location.

* Through strict typing, the .NET virtual machine can unambiguously decide whether each word in RAM is a pointer or not, but updating all pointers efficiently without using too much extra RAM can be tricky.

* Additional complexity comes from generational collectors which try, most of the time, to leave most of the objects untouched, working preferentially with young objects only.

* Here, this means compacting only the end of the heap; full compaction being applied only rarely.

* The point here is that a full compaction, although linear, could still induce a noticeable pause.

Generational GC tries to make such pauses rarer.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Colleen Matthews had just turned 22 when her hard work finally started to pay off. Six...
Colleen Matthews had just turned 22 when her hard work finally started to pay off. Six months earlier, Colleen had graduated from a state university with a master’s degree in accounting. Colleen graduated with honors and was one of the youngest in her class. Unlike most of the intellectuals she had studied with throughout her career, Colleen was extremely social and had great communication skills. After graduation, she took a job with a well-known regional accounting firm. The firm specialized...
2. SECURING THE WORKFORCE Diversity management in X-tech, a Japanese organisation This case is intended to...
2. SECURING THE WORKFORCE Diversity management in X-tech, a Japanese organisation This case is intended to be used as a basis for class discussion rather than as an illustration of the effective or ineffective handling of an administrative situation. The name of the company is disguised. INTRODUCTION In light of demographic concerns, in 2012, the Japanese government initiated an effort to change the work environment in order to secure the workforce of the future. Japan is world renowned for its...
Case 13 ✍ It Was Really So Simple Background Information Brenda Galway leaned back in her...
Case 13 ✍ It Was Really So Simple Background Information Brenda Galway leaned back in her chair, sighed heavily, and slowly rubbed her eyes in big circular motions. “I don’t need all this aggravation,” she thought to herself. She had just finished reviewing the report she had requested from her new employee, Bill Stanley. The entire report was incorrect and would have to be redone. Brenda supervised Unit B of the Audit Department. The Unit B team had earned the...
Please read the article and answer these questions. Thanks. Article: TESTING THE GLOBAL CENTRAL BANK SWAP...
Please read the article and answer these questions. Thanks. Article: TESTING THE GLOBAL CENTRAL BANK SWAP NETWORK In the last few weeks, the ECB has been drawing on its liquidity swap line with the Fed, first $308 million for a week, then $658 million for a week, and last week back down to $358 million. What’s that about? It’s not such a large amount. Bank of Japan borrowed more in the past, $810 million in March and $1528 million in...
The questions: 1. What type of technology Acme and Omega utilize to transform inputs into outputs?...
The questions: 1. What type of technology Acme and Omega utilize to transform inputs into outputs? 2. Which strategic choice (differentiation or cost leadership) suits best to Acme? Omega? Do these companies have clear strategic choices or do they stuck in the middle? 3. Based on all the contingencies which type of structure is more suitable for these companies; mechanistic or organic? please answer each question alone The Paradoxical Twins: Acme and Omega Electronics John F. Veiga Part! boom of...
As you saw from the lab PowerPoint slides last week, you will be doing a research...
As you saw from the lab PowerPoint slides last week, you will be doing a research study looking at ‘Aggression Priming” for your first paper. For this week’s discussion, I want you to discuss with your group what you think this study is about. What is the hypothesis? What theory does it come from? What do you predict will happen (do you expect something different than the hypothesis in the researcher instructions? If so, what and why?)? Do you think...
Item 1 In the case below, the original source material is given along with a sample...
Item 1 In the case below, the original source material is given along with a sample of student work. Determine the type of plagiarism by clicking the appropriate radio button. Original Source Material Student Version In contrast to the transmittal model illustrated by the classroom lecture-note taking scenario, the constructivist model places students at the center of the process--actively participating in thinking and discussing ideas while making meaning for themselves. And the professor, instead of being the "sage on the...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
Case Study 1 Quick Biotech It is late in September 2010, and Michelle Chang, a doctoral...
Case Study 1 Quick Biotech It is late in September 2010, and Michelle Chang, a doctoral student at the National University of Singapore (NUS), is to meet her colleagues Henry Tan and Mike Hammer from the Institute of Molecular Biology again in a few days to discuss the course of action to be pursued for the establishment of Quick Biotech. Henry Tan and Mike Hammer both hold doctorates in biology and work at NUS as senior assistants. A few months...
Polly Peyrotte started designing and decorating fine china plates more than 100 years ago. As her...
Polly Peyrotte started designing and decorating fine china plates more than 100 years ago. As her artistry caught on, she became famous. She also turned out to have considerable business skills. She grew her design studio into what today is Polly Plates, Inc. (PPI), with $36 million in annual revenue. Polly’s daughters and granddaughters became involved in the business after Polly’s retirement and hired talented designers who could carry on Polly’s tradition of beautiful plates. In recent years, however, fewer...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT