Question

What are the two stacks per process and what are the purposes of each kind? What...

What are the two stacks per process and what are the purposes of each kind? What can happen if you have too many procedure calls.

Homework Answers

Answer #1

Each cycle has two stacks:

User-mode stack: The typical stack that the cycle uses to store its transitory information (or information passed by work calls). In the event that the cycle will have more than one string, it might have a stack for each string.

Kernel-mode stack: When a kernel-mode switch happens, the kernel utilizes this stack to store its transitory information. Each cycle has a kernel-mode stack that must be utilized by the kernel. For instance, when the cycle triggers some framework call, the kernel takes control. It switches the stacks and starts utilizing the kernel-mode stack of that cycle. At the point when the framework call routine is done, the kernel switches back the stacks and the cycle proceeds with its work utilizing the user-mode stack.

The biggest limitation to that hundreds or thousands store procedure is maintainability. Even though that is not a direct performance hit, it should be a consideration. That is an architectural stand point, you have to plan not just for the initial development of the application, but future changes and maintenance.

That being said you should design/create as many as your application requires. Although with Hibernate, NHibernate, .NET LINQ I would try to keep as much store procedures logic in the code, and only put it in the database when speed is a factor.

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
Suppose you have three stacks. Stack source is full of random data and stacks aux and...
Suppose you have three stacks. Stack source is full of random data and stacks aux and dest are empty To sort the data in the source, you can repeatedly remove the largest value by popping each item off of source and pushing it onto aux, remembering the maximum value seen as you empty source. When source is empty, you pop each item off of aux and push it back onto source except for the largest one that you remembered, which...
Suppose you have three stacks. Stack source is full of random data and stacks aux and...
Suppose you have three stacks. Stack source is full of random data and stacks aux and dest are empty To sort the data in the source, you can repeatedly remove the largest value by popping each item off of source and pushing it onto aux, remembering the maximum value seen as you empty source. When source is empty, you pop each item off of aux and push it back onto source except for the largest one that you remembered, which...
1) a) What kind of problem manifest at a choke if temperature gets too low? What...
1) a) What kind of problem manifest at a choke if temperature gets too low? What can be done to remedy this problem? b) Produced natural gas is usually saturated with water vapor. Why is the presence of water vapor not favorable? What can be done to remove the water content? c) What is done to gas that flashes in lower pressure separators? Give example of two equipment commonly used for this process.
what are the purposes and advantages of the intermediate sanctioning process including the types of resources...
what are the purposes and advantages of the intermediate sanctioning process including the types of resources that can be used as sanctioning tools? for cja 113
What kind of a costing system should the following businesses have? State two reasons supporting each...
What kind of a costing system should the following businesses have? State two reasons supporting each type. 1.Flower bouquet shop 2.Plastic bottles manufacturing company 3. Shampoo manufacturing company
What are the kind of cells that can target and process pathogen-associated molecular patterns (PAMPs)? Regulatory...
What are the kind of cells that can target and process pathogen-associated molecular patterns (PAMPs)? Regulatory T cells Platelets Dendritic cells Erythrocytes
Create in JAVA Suppose you are designing a game called King of the Stacks. The rules...
Create in JAVA Suppose you are designing a game called King of the Stacks. The rules of the game are as follows:  The game is played with two (2) players.  There are three (3) different Stacks in the game.  Each turn, a player pushes a disk on top of exactly one of the three Stacks. Players alternate turns throughout the game. Each disk will include some marker to denote to whom it belongs.  At the end...
What kind of organizational structure does blue apron have? Can you tell what kind of culture...
What kind of organizational structure does blue apron have? Can you tell what kind of culture blue apron has? Does there seem to be a fit between strategy, structure and culture?
Explain what physical process (e.g. what kind of electronic transition, or synchrotron, or blackbody, etc.) produces...
Explain what physical process (e.g. what kind of electronic transition, or synchrotron, or blackbody, etc.) produces the emission, and what it tells us about the gas and/or stars in the place it’s emitted, for each of the following: a) far-infrared (100 micrometers) radiation b) Ultraviolet (100 nm) radiation
To compare two kinds of bumper guards, 6 of each kind were mounted on a certain...
To compare two kinds of bumper guards, 6 of each kind were mounted on a certain kind of compact car. Then each car was run into a concrete wall at 5 miles per hour, and the following are the costs of the repairs (in dollars) Bumper guard 1:         107      148      123      165      102            119 Bumper guard 2:         134      115      112      151      133            129 Use the 0.01 level of significance to test whether the difference between the two sample...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT