Re: JMM- synchronization access in a concrete example.

2018-09-26 Thread Tom Lee
Oops: "use x and y somehow" should read "use y and z somehow" in the example I gave. Hopefully that's not too confusing. On Tue, Sep 25, 2018 at 11:09 PM Tom Lee wrote: > How to interpret a citation given by Cezary?: "If x and y are actions of >> the same thre

Re: JMM- synchronization access in a concrete example.

2018-09-26 Thread Tom Lee
ronized that code will be correct because: >>> 1. There is no data race. >>> 2. There is guarantee that (1) will be executed before (2) because (1) >>> is a synchronization action and Executor.execute is also a synchronization >>> access (not specifically

Re: Executing thread by JVM.

2017-11-12 Thread Tom Lee
ups > "mechanical-sympathy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to mechanical-sympathy+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- *Tom Lee */ http://tomlee.co

Re: failing to understand the issues with transparent huge paging

2017-08-23 Thread Tom Lee
>>>> I understand that using a large page e.g. 2mb instead of a 4kb page >>>>> can reduce pressure on the TLB. >>>>> >>>>> So till so far it looks like huge large pages makes a lot of sense; of >>>>> course at the expensive

Re: Measuring JVM memory for containers

2017-08-04 Thread Tom Lee
oracle.com/javase/8/docs/technotes/guides/troubleshoot/ > tooldescr007.html > [2] https://developers.redhat.com/blog/2017/04/04/openjdk-and-containers/ > > On Thursday, 3 August 2017 20:16:50 UTC+2, Tom Lee wrote: >> >> Hey Sebastian, >> >> Dealt with a similar issues on D

Re: Measuring JVM memory for containers

2017-08-03 Thread Tom Lee
>> Thanks, >> Sebastian >> >> [1] https://developers.redhat.com/blog/2017/03/14/java-inside-docker/ >> [2] https://docs.oracle.com/javase/8/docs/technotes/guides/ >> troubleshoot/tooldescr007.html >> [3] https://gist.github.com/slaskawi/a6ddb32e1396384d8055