Untitled topic
1–8 of 8 posts
Re: undefined
#2Re: undefined
#3That's not quite right. Method call data is passed in the local variable fields of the method's frame, not on the stack.
Re: undefined
#4Another nit is that at the top of the article is a link to another article on "Understanding How to Use Cryptography in Java" which is claimed to be "a good starting point to taking on this adventure." Personally I could not see any connection between the two subjects, which made me feel that some editor type stuffed that in there in an attempt to juice their page views.
Re: undefined
#5> the stack will hold all of the variables – this includes the local and the method call information That's not quite right. Method call data is passed in the local variable fields of the method's frame, not on the stack.
Re: undefined
#6Re: undefined
#7I found this a little confusing. The article contains several simplistic examples of garbage collection algorithms - written in Java! A tantalisingly meta concept, but snatched away half way through when the article clarifies that of course you can't write your own garbage collection in Java and plug it into the JVM. You need native code. Another nit is that at the top of the article is a link to another article on "…
Re: undefined
#8I found this a little confusing. The article contains several simplistic examples of garbage collection algorithms - written in Java! A tantalisingly meta concept, but snatched away half way through when the article clarifies that of course you can't write your own garbage collection in Java and plug it into the JVM. You need native code. Another nit is that at the top of the article is a link to another article on "…
I guess this is a sort of gentle introduction to "how GC works" for Java devs. For more realistic usage, perhaps poking the Boehm-Demers-Weiser or the likes is better, unless you want to hack the JVM code, because the GC API isn't exposed to developers.