Every method is assigned its own activation record. Now, if there is a stack overflow on this activation record but there is still space left on the stack of the executing thread, does an overflow occur and the thread stops or will the activation record be assigned more space on the stack? Thanks for your help in advance :)
1
There are 1 best solutions below
Related Questions in JVM
- JVM is functioning very differently with same flags
- Heap size issue on migrating from Solr 5.0.0 to Solr 5.1.0
- Can't open eclipse with Windows 7 (doesn't see jdk jde)
- Can I import java libraries in HP ALM without Microsoft Java Virtual Machine?
- resin project, jdk8 has a high cpu load ,but jdk7 not
- Using multiple JVM languages in the same project
- Practical case JVM tunning to avoid full GC
- why does buckminster not resolve my passed JVM argument?
- Where to patch back the information gathered during program analysis
- Java 8 , JCE Unlimited Strength Policy and SSL Handshake over TLS
- Does the JVM limit the number of threads an Executor can run?
- With Swift open sourced, what would it take to have it running on the JVM?
- JVM ClassUnloadingWithConcurrentMark flag
- Ruby RJB can't create Java VM error
- Exposing whether an application is undergoing GC via UDP
Related Questions in STACK
- SQL FIFO STACK using two tables
- C++ assign const reference to instance variable (memory issues?)
- Efficient retrieval of last and second to last element of ArrayStack in Scala?
- How to implement Exception for function isFull() on Stack
- Merging two sorted stacks
- MASM console window creation troubles (maybe my stack frame??)
- Why does the Java.Util.Stack not pop last element in the loop?
- popStack pops out data that I didn't push (stack adt)
- kill function from ISR on cortex-m0
- Why in C++ overwritingis is slower than writing?
- why does a integer type need to be little-endian?
- fread(), solaris to unix portability and use of uninitialised values
- How can I have different color for each bar of stack barplots? in R
- Stack with push and pop functions not working
- c++ memory allocated at compile time
Related Questions in STACK-OVERFLOW
- Visual Studio loses first stack frames on StackOverflowException
- Silverlight Nested Custom Controls results in StackOverflowException
- System.Web.HttpcontextBase problems in Orchard 1.8 (possibly due to Visual studio 2015)
- Calling functions from each other causing stackoverflow error
- StackOverflowException while calling native (DllImport) function
- Gradle : Stackoverflow Error
- Stackoverflow error with ActionListeners
- Form reference causing Stackoverflow Exception
- Stackoverflow exception when using many enumarations inside my class
- Nop Sled, can you explain it to me?
- StackOverflow error due to recursion in Java
- BigInteger memory leak causes stack overflow in Java
- Why does attempt to access InnerText property cause Stack Overflow Expection when using HtmlAgilityPack?
- How do i dynamically allocate memory to a 2D array in C avoiding the stack overflow issue?
- Why i'm getting exception StackOverFlowException ? And how to solve it?
Related Questions in ACTIVATION-RECORD
- is main () created with an automatic variable, and if so, what's its purpose?
- A block scoped variable and the activation record
- static allocation and stack allocation in compiler design
- Recursion in Python and Scala
- Value of Local variable in of one function used in another function (c programming)
- Activation record
- Is the Activation Record used in finding the line of the error?
- C - Address of variables in the activation records
- Using a higher order SML code, Write Nested Functions in Java
- During which phase of building a binary is activation record defined?
- Trying to increment local variable from a separate method but not working. Confusion about Activation Stack/Record
- would the variable 'x' in this piece of code be stores in stack memory, heap memory, or both?
- Where are global variables located in the activation record for C?
- Changing program execution flow by signal and return address
- How to create a process that runs a routine with variable number of parameters?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
What you call “activation record” is normally know as activation frame or (stack) frame.
A frame is always large enough to hold all local variables and temporary operand values of the method execution it belongs to. Hence, there is no possibility for a stack overflow to occur within a frame. When a method about to be invoked, a new frame for the invoked method will be placed on the stack but if there is not enough room on the stack for the frame, a
StackOverflowErrorwill be thrown.There might be special operations pushing more data to the stack. For example, synchronization may require more data to be stored on the stack under certain circumstances. In such situations, a
StackOverflowErrormay occur in the middle of a method execution if there’s not enough space on the stack.But it’s debatable whether that could be seen as a frame expansion, rather than pushing additional non-frame data to the stack. A frame is normally seen as a fixed size entity, as the whole point of it, is to have a fixed size data structure, to eliminate the need for frequently altering the stack pointer.