mikemccand commented on PR #15997:
URL: https://github.com/apache/lucene/pull/15997#issuecomment-4354548984

   This change worked -- I'm able to simply run profiling:
   
   ```
   ./gradlew -p lucene/core test -Ptests.profile=true 
-Ptests.profile.stacksize=8 -Ptests.profile.linenumbers=true
   ```
   
   but I still get not-really-loving top CPU stacks:
   
   ```
   PROFILE SUMMARY from 155438 events (total: 155438)
     tests.profile.mode=cpu
     tests.profile.count=10
     tests.profile.stacksize=8
     tests.profile.linenumbers=true
   PERCENT       CPU SAMPLES   STACK
   0.53%         831           
java.util.stream.MatchOps$2MatchSink#accept():119 [JIT compiled code]
                                 at 
java.util.stream.Streams$RangeIntSpliterator#tryAdvance():82 [JIT compiled code]
                                 at 
java.util.stream.IntPipeline#forEachWithCancel():163 [JIT compiled code]
                                 at 
java.util.stream.AbstractPipeline#copyIntoWithCancel():588 [JIT compiled code]
                                 at 
java.util.stream.AbstractPipeline#copyInto():574 [JIT compiled code]
                                 at 
java.util.stream.AbstractPipeline#wrapAndCopyInto():560 [JIT compiled code]
                                 at 
java.util.stream.MatchOps$MatchOp#evaluateSequential():230 [Inlined code]
                                 at 
java.util.stream.MatchOps$MatchOp#evaluateSequential():196 [JIT compiled code]
   0.31%         489           
java.util.stream.Streams$RangeIntSpliterator#tryAdvance():77 [JIT compiled code]
                                 at 
java.util.stream.IntPipeline#forEachWithCancel():163 [JIT compiled code]
                                 at 
java.util.stream.AbstractPipeline#copyIntoWithCancel():588 [JIT compiled code]
                                 at 
java.util.stream.AbstractPipeline#copyInto():574 [JIT compiled code]
                                 at 
java.util.stream.AbstractPipeline#wrapAndCopyInto():560 [JIT compiled code]
                                 at 
java.util.stream.MatchOps$MatchOp#evaluateSequential():230 [Inlined code]
                                 at 
java.util.stream.MatchOps$MatchOp#evaluateSequential():196 [JIT compiled code]
                                 at 
java.util.stream.AbstractPipeline#evaluate():265 [JIT compiled code]
   0.31%         485           sun.nio.ch.UnixFileDispatcherImpl#pread0() 
[Native code]
                                 at 
sun.nio.ch.UnixFileDispatcherImpl#pread():57 [JIT compiled code]
                                 at 
sun.nio.ch.IOUtil#readIntoNativeBuffer():339 [JIT compiled code]
                                 at sun.nio.ch.IOUtil#read():307 [JIT compiled 
code]
                                 at sun.nio.ch.IOUtil#read():284 [Inlined code]
                                 at 
sun.nio.ch.FileChannelImpl#readInternal():1198 [JIT compiled code]
                                 at sun.nio.ch.FileChannelImpl#implRead():1170 
[JIT compiled code]
                                 at sun.nio.ch.FileChannelImpl#read():1152 [JIT 
compiled code]
   0.28%         433           
java.util.stream.IntPipeline#forEachWithCancel():163 [JIT compiled code]
                                 at 
java.util.stream.AbstractPipeline#copyIntoWithCancel():588 [JIT compiled code]
                                 at 
java.util.stream.AbstractPipeline#copyInto():574 [JIT compiled code]
                                 at 
java.util.stream.AbstractPipeline#wrapAndCopyInto():560 [JIT compiled code]
                                 at 
java.util.stream.MatchOps$MatchOp#evaluateSequential():230 [Inlined code]
                                 at 
java.util.stream.MatchOps$MatchOp#evaluateSequential():196 [JIT compiled code]
                                 at 
java.util.stream.AbstractPipeline#evaluate():265 [JIT compiled code]
                                 at 
java.util.stream.IntPipeline#noneMatch():549 [Inlined code]
   ```
   
   What is so heavily using `java.util.stream.*` in our core unit tests .... 
lemme make stack size bigger.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to