Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V622 pair offset #147

Merged
merged 9 commits into from
Nov 24, 2020

Conversation

smuzaffar
Copy link

No description provided.

The TClass generated by TStreamerInfo::GenerateInfoForPair is neither 'Interpreted' (cling
likely does not, yet, have any information about that pair) nor loaded (the user did not
request a dictionary for it) but need to have special treatment for those TClass.

It is not clear whether this should be a new state.  For now we introduce a new
data member (`fIsSyntheticPair`) and don't increase the size of TClass instance
by using a bit field.
…re provided.

Since getting the right alignment and padding is hard (either use Cling/Clang with the associated memory cost and potential
autoparsing or duplicating the platform dependent code that calculates it), we now only creates the synthetic TClass instance
that represent and std::pair ***if and only*** the call is provided the actual offset of second and sizeof the pair.

This information is known to compiled (and later interpreted) CollectionProxy, to TClass for class containing an std::pair
(via their list of RealData which is recorded in the rootpcm) and to TClass::GetClass templated on the actual type
(since the pair's data members are public)
Extract the offset and size of the pair and pass it along to raw TClass::GetClass
Use the data in fPRealData to calculate the offset and size of the pair
Note: If a StreamerInfo is loaded from a file and is the same information
as an existing one, it is assigned the same "unique id" and we need to double
check before removing it from the global list.
@cmsbuild
Copy link

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for branch cms/v6-22-00-patches/d9daad3.

@cmsbuild, @smuzaffar, @mrodozov can you please review it and eventually sign? Thanks.
cms-bot commands are listed here

@smuzaffar
Copy link
Author

smuzaffar commented Nov 24, 2020

test parameters:

  • full_cmssw = true
  • release = CMSSW_11_2_ROOT622_X

@smuzaffar
Copy link
Author

please test

@cmsbuild
Copy link

cmsbuild commented Nov 24, 2020

The tests are being triggered in jenkins.
Test Parameters:

@cmsbuild
Copy link

+1
Tested at: dbeece7
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b9f447/10976/summary.html
CMSSW: CMSSW_11_2_ROOT622_X_2020-11-23-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link

Comparison job queued.

@cmsbuild
Copy link

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b9f447/10976/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • Reco comparison had 19 failed jobs
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2961011
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2960988
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 36 files compared)
  • Checked 158 log files, 34 edm output root files, 37 DQM output files

@smuzaffar
Copy link
Author

@pcanal , I am merging this in CMSSW v6.22 branch so that we can run full tests in IB

@smuzaffar smuzaffar merged commit e3e9015 into cms-sw:cms/v6-22-00-patches/d9daad3 Nov 24, 2020
@pcanal
Copy link

pcanal commented Nov 24, 2020

@smuzaffar Some result seems to have come up. Does it mean we are all good or is there more to come?

@smuzaffar
Copy link
Author

not really @pcanal , for PR tets we run in non-threaded mode so tests passigng here does not mean that there are no issue. This is now in IB whee we will relvals in threaded mode and there we will see if any issue pops up. Sometimes it takes few IBs to get threaded issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants