« first day (3546 days earlier)      last day (1387 days later) » 

12:12 AM
Does anyone know if you need your facebook app get reviewed/identified before having login with facebook work on production?
cause they stopped the identification process due to covid-19
 
 
6 hours later…
6:12 AM
picks nose
 
 
3 hours later…
9:04 AM
heyo, how's the javamunity doing?
 
9:42 AM
java mutiny? where?
I want to participate
 
10:20 AM
hello
quick question
when i do something like this
for(...){
int k = 0;
}
does k get freed for each iteration?
and what if it's an object?
 
Zoe
Probably not in Java, because GC. It doesn't automatically remove stuff in real time
 
k falls out of scope
its value will be freed based on how the stack frame handles memory
probably, the memory of k gets re-used on each iteration
if it was a reference, the object on the heap would lose the reference from k
assuming it is the only reference to that object, it will be marked as garbage and collected by the GC
whenever the runtime decides it needs more memory or is idle enough to just do some cleanup, the GC will be cleared and the object will be removed from the heap
@Luyw if you are afraid of memory leaks, anything on this scale of code wouldnt be any concern
memory leaks in Java often are due to recursion with reduction or due to bi-directional references within a global state
 
thank you for your answers.
i am trying to send emails and am declaring a MimeMessage message = new MimeMessage(session); each iteration. so yeah.
doing that out of the for loop is returning an exception.
i was kind of worried that this will take up much memory as the number of email addresses increase.
 
10:43 AM
it will certainly take up more memory, but when you take up too much memory, the GC will clear up all that memory that you used and dont use any more
re-using an object would reuse that memory and avoid a lot of garbage allocation, but doing that yourself would introduce a lot of failure potential
some garbage collectors do it for you, which avoids the danger of re-use while still reusing the actual memory
 
 
4 hours later…
2:29 PM
o.o
Does someone have experience with java moneta API? javamoney.github.io/ri.html
 
3:03 PM
why you need a money api?
 
3:15 PM
@Wietlol definitely:
> The sizes of the local variable array and the operand stack are determined at compile-time and are supplied along with the code for the method associated with the frame (§4.7.3). Thus the size of the frame data structure depends only on the implementation of the Java Virtual Machine, and the memory for these structures can be allocated simultaneously on method invocation.
 
I dont understand Oracle JVM doc language :D
they say it is english, yet I don't understand it
there are words I recognize tho
 
Zoe
4:10 PM
 
 
3 hours later…
7:16 PM
posted on July 08, 2020

archive - contact - sexy exciting merchandise - search - about ← previousJuly 8th, 2020nextJuly 8th, 2020: Hey, I've got a mailing list for SECRET PALS! If you'd like to be a SECRET PAL, baby, now is your chance. I only send out a message like once a month!– Ryan

 
 
4 hours later…
10:50 PM
 

« first day (3546 days earlier)      last day (1387 days later) »