You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by "vlsi (via GitHub)" <gi...@apache.org> on 2023/05/18 08:38:56 UTC

[GitHub] [jmeter] vlsi opened a new issue, #5925: CSVDataSet relies on System.identityHashCode uniqueness for ThreadGroup and Thread

vlsi opened a new issue, #5925:
URL: https://github.com/apache/jmeter/issues/5925

   ### Expected behavior
   
   `CSVDataSet` should not rely on `System.identityHashCode` uniqueness as it is never guaranteed.
   
   I think `CSVDataSet` should leverage smart cloning like in https://github.com/apache/jmeter/pull/5916, so it would not require accessing `System.identityHashCode(threadGroup)` every time.
   As a bonus, the alias computation could be done just once, not for every execution.
   
   See https://github.com/apache/jmeter/pull/693
   
   ### Actual behavior
   
   _No response_
   
   ### Steps to reproduce the problem
   
   Add a test that configures `CSVDataSet` with `SHARE_GROUP` or `SHARE_THREAD`. Use `-XX:hashCode=2` to trigger OpenJDK Hotspot to produce duplicate values for `System.identityHashCode`.
   
   ### JMeter Version
   
   5.5
   
   ### Java Version
   
   _No response_
   
   ### OS Version
   
   _No response_


-- 
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: dev-unsubscribe@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org