Re: RFR: 8301578: Perform output outside synchronization in Module.class [v4]

2023-02-10 Thread Alan Bateman
On Thu, 9 Feb 2023 16:27:34 GMT, Per Minborg wrote: >> src/java.base/share/classes/java/lang/Module.java line 120: >> >>> 118: // memory semantics that preserves ordering and visibility across >>> threads. >>> 119: // >>> 120: // Used reflectively via Unsafe >> >> I assume L119-120

Re: RFR: 8301578: Perform output outside synchronization in Module.class [v4]

2023-02-09 Thread Per Minborg
On Thu, 9 Feb 2023 15:19:38 GMT, Alan Bateman wrote: >> Per Minborg has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Use Unsafe instead of synchronized > > src/java.base/share/classes/java/lang/Module.java line 120: > >> 118: // memo

Re: RFR: 8301578: Perform output outside synchronization in Module.class [v4]

2023-02-09 Thread Alan Bateman
On Thu, 9 Feb 2023 15:05:13 GMT, Per Minborg wrote: >> This PR proposed to reduce contention in synchronized methods mainly by >> doing I/O operations outside synch blocks. > > Per Minborg has updated the pull request incrementally with one additional > commit since the last revision: > > Us

Re: RFR: 8301578: Perform output outside synchronization in Module.class [v4]

2023-02-09 Thread Per Minborg
> This PR proposed to reduce contention in synchronized methods mainly by doing > I/O operations outside synch blocks. Per Minborg has updated the pull request incrementally with one additional commit since the last revision: Use Unsafe instead of synchronized - Changes: - all