I'm doing some work with Real-time Java (the product I'm using is based off the Real Time Specification for Java) but I'm hoping my question applies to any type of Java.
One concern of the ability for RTJ to meet the timing constraints is the garbage collector. To test this, I will write simple program that does a lot of dynamic creation and deletion of various objects... something to get the garbage collector to be run a bunch of times, and see how it affects things.
I'm wondering if the following statement is true or false:
In Java, passing return values that are not of a primitive type creates an Object.
I think this should make sense. Thanks.
One concern of the ability for RTJ to meet the timing constraints is the garbage collector. To test this, I will write simple program that does a lot of dynamic creation and deletion of various objects... something to get the garbage collector to be run a bunch of times, and see how it affects things.
I'm wondering if the following statement is true or false:
In Java, passing return values that are not of a primitive type creates an Object.
I think this should make sense. Thanks.