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
- How to check what objects are created and where?
- why does Java’s JIT compilation happen within user threads?
- The way Elasticsearch deals with control heap memory when indexing documents
- Within a Clojure project using deps.edn, where is the package name and version tracked?
- spark - How is it even possible to get an OOM?
- files in /tmp/hsperfdata_<user>/ were deleted
- Does an Stackoverflow occur in the JVM if the Activation Record is too small but there is still space left in the general stack?
- android art genertate verification errors,how to
- Understanding Invokedynamic Instruction in Java Bytecode and Its Impact on the Operand Stack
- A compatibility issue between jaydebeapi and jpype
- Java native access violation is not triggering the windows jit debugger
- java flight recorder(jfr) consumes 100% cpu when its supposed to have only 1-2% overhead
- Java reflection returning base type for Scala classes
- What is the exactly time that JNI release the LocalReference automatically?
- jvm exits for unknown reason
Related Questions in STACK
- What is causing my towers of hanoi logic to infinitely loop?
- Asking code suggestions about data structure and algorithm
- Why is 'EDITBIN /STACK:2097152 w3wp.exe' cmd is giving me an LNK1342 error?
- issues with circular queues
- Missing PAGE_GUARD flag on the memory of stack for one windows application
- Purpose of stack register(s) in holding 0x7c00
- Split Dataframe and stack horizontally
- segmentation fault (core dumped) in C programming
- How to find Find max right using stack?
- Does an Stackoverflow occur in the JVM if the Activation Record is too small but there is still space left in the general stack?
- How to create 100 maps with bootstrapping using stacked ensemble fit with tidymodels
- How does the class Exchanger in Java actually work?
- How can I improve the iterative approach to be faster than recursive implementation, as usual?
- Need to make Stack cards on nav click as well ass page scroll with help of jquery
- Puncover: Stack column is empty after analysis
Related Questions in STACK-OVERFLOW
- How to allocate a large structure in a heap baked `Arc<T>` without stack overflow in Rust?
- Build failed: Your build exceed the maximum build time of 120 minutes
- intelliJ Error when build the Project - Cause: java.lang.StackOverflowError
- Ran on an MCU (STM32F1), doubly-linked list code results in a call of HardFault() due to stack overflow
- How to turn off login pop-up on stackoverflow
- stack overflow error occurs only when converting to a type with the Error method defined
- Does an Stackoverflow occur in the JVM if the Activation Record is too small but there is still space left in the general stack?
- Automapper with Record types causing StackOverflowException
- Stack overflow when finding all paths through a grid with recursion and backtracking
- What refactoring should I apply on this email validation regex?
- Can someone explain why this is throwing a stackoverflow error? (Scala, lazylist, nth prime number)
- How to fix Recursion Function overflow error?
- Why is a topic locked as off-topic
- How to detect a Stack Overflow error in C++Builder 2010?
- How can I implement screen tapping functionality programmatically in Flutter to simulate user clicks?
Related Questions in ACTIVATION-RECORD
- Does an Stackoverflow occur in the JVM if the Activation Record is too small but there is still space left in the general stack?
- Using a higher order SML code, Write Nested Functions in Java
- Where are global variables located in the activation record for C?
- Asking user to input value between specific range recursively in JAVA?
- 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?
- static allocation and stack allocation in compiler design
- How to create a process that runs a routine with variable number of parameters?
- A block scoped variable and the activation record
- Recursion in Python and Scala
- What is the ARP (Active Recording Pointer)?
- Escaping closures on the runtime stack?
- Activation record
- Changing program execution flow by signal and return address
- Is the Activation Record used in finding the line of the error?
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 # Hahtags
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.